Επεξεργασία

Κοινή χρήση μέσω


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.

Applies to

See also