Get Manifest Resource Names Method
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the names of all the resources in this assembly.
public: virtual cli::array <System::String ^> ^ GetManifestResourceNames();
public virtual string GetManifestResourceNames ();
abstract member GetManifestResourceNames : unit -> string override this.GetManifestResourceNames : unit -> string
Public Overridable Function GetManifestResourceNames () As String()
An array that contains the names of all the resources.
You can use each resource name in the array returned by this method as follows:
You can pass the resource name to the GetManifestResourceInfo method to get additional information about the resource.
If the name identifies a binary .resources file, you can remove its .resources file extension and pass it to the ResourceManager.ResourceManager(String, Assembly) constructor to instantiate the resource manager.
Resource information is returned only if the resource is visible to the caller, or the caller has ReflectionPermission.