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.
精彩评论