GetManifestResourceNames Method

Assembly.GetManifestResourceNames Method ()

 

Returns the names of all the resources in this assembly.

Namespace:   System.Reflection
Assembly:  mscorlib (in mscorlib.dll)

public virtual string[] GetManifestResourceNames()

Return Value

Type: System.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:

Resource information is returned only if the resource is visible to the caller, or the caller has ReflectionPermission.

ReflectionPermission

when invoked late-bound through mechanisms such as Type.InvokeMember. Associated enumeration: ReflectionPermissionFlag.MemberAccess

Universal Windows Platform
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
Return to top
Show:
© 2016 Microsoft