C
chipxsd
Folks, please I need your help!
I use the .resx to embed the resources in to the assembly. I'm curious
how do I get the list of all resources from the assembly.
One of my .resx file looks like this (Sa.Customer.resx)
properties.Address "Your Address"
properties.City "City"
properties.Country "Country you live in"
....
I'd like to know all the possible keys from this resource in runtime
(not from the .resx file, but from the assembly).
An array would have to look like this {"properties.Address",
"properties.City", "properties.Country" ...}
I've tried using:
Assembly Asm = Assembly.GetExecutingAssembly();
String[] test = Asm.GetManifestResourceNames();
.... but it gives me a zero dimension array
Is there any way I could do this? ... at all?
Anyone, please?
I use the .resx to embed the resources in to the assembly. I'm curious
how do I get the list of all resources from the assembly.
One of my .resx file looks like this (Sa.Customer.resx)
properties.Address "Your Address"
properties.City "City"
properties.Country "Country you live in"
....
I'd like to know all the possible keys from this resource in runtime
(not from the .resx file, but from the assembly).
An array would have to look like this {"properties.Address",
"properties.City", "properties.Country" ...}
I've tried using:
Assembly Asm = Assembly.GetExecutingAssembly();
String[] test = Asm.GetManifestResourceNames();
.... but it gives me a zero dimension array
Is there any way I could do this? ... at all?
Anyone, please?