Assembly.GetManifestResourceNames Method ()
Returns the names of all the resources in this assembly.
Assembly: mscorlib (in mscorlib.dll)
Implements
_Assembly.GetManifestResourceNames()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.
You can pass the resource name to the GetManifestResourceStream method to retrieve a Stream object that you can then pass to the ResourceReader.ResourceReader(Stream) constructor.
You can pass the resource name to the GetManifestResourceStream method to retrieve a Stream object that you can then pass to the ResourceSet.ResourceSet(Stream) constructor.
Resource information is returned only if the resource is visible to the caller, or the caller has ReflectionPermission.
when invoked late-bound through mechanisms such as Type.InvokeMember. Associated enumeration: ReflectionPermissionFlag.MemberAccess
Available since 8
.NET Framework
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1