AssemblyBuilder.GetManifestResourceNames 方法

定义

从此程序集加载指定的清单资源。Loads the specified manifest resource from this assembly.

public:
 override cli::array <System::String ^> ^ GetManifestResourceNames();
public override string[] GetManifestResourceNames ();
override this.GetManifestResourceNames : unit -> string[]
Public Overrides Function GetManifestResourceNames () As String()

返回

String[]

包含所有资源的名称的类型 String 数组。An array of type String containing the names of all the resources.

例外

动态程序集不支持此方法。This method is not supported on a dynamic assembly. 若要获取清单资源名称,请使用 GetManifestResourceNames()To get the manifest resource names, use GetManifestResourceNames().

调用方没有所要求的权限。The caller does not have the required permission.

适用于