Assembly.GetManifestResourceNames Assembly.GetManifestResourceNames Assembly.GetManifestResourceNames Assembly.GetManifestResourceNames Method

Definition

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()

Returns

String[]

An array that contains the names of all the resources.

Implements

Remarks

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.

Security

ReflectionPermission
when invoked late-bound through mechanisms such as InvokeMember(String, BindingFlags, Binder, Object, Object[], ParameterModifier[], CultureInfo, String[]). Associated enumeration: MemberAccess

Applies to

See also