开发者

ASP.NET: Globalization/localization: Enumerating local resource objects

There's a function:

this.GetLocalResourceObject() as string

That takes a key and returns a localized string.

How can I enumerate all the local resource ob开发者_如何学运维jects/localized strings?

Something to do with the ResourceManager?


I believe you want a ResourceSet, which you can access through the GetResourceSet method on ResourceManager. A ResourceSet has a number of possible ways to enumerate it, iirc GetEnumerator might be the most immediately helpful.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜