_Assembly.GetManifestResourceInfo(String) 方法

定义

为 COM 对象提供对 GetManifestResourceInfo(String) 方法的与版本无关的访问。Provides COM objects with version-independent access to the GetManifestResourceInfo(String) method.

public:
 System::Reflection::ManifestResourceInfo ^ GetManifestResourceInfo(System::String ^ resourceName);
public System.Reflection.ManifestResourceInfo GetManifestResourceInfo (string resourceName);
abstract member GetManifestResourceInfo : string -> System.Reflection.ManifestResourceInfo
Public Function GetManifestResourceInfo (resourceName As String) As ManifestResourceInfo

参数

resourceName
String

区分大小写的资源名称。The case-sensitive name of the resource.

返回

ManifestResourceInfo

使用关于资源拓扑的信息填充的 ManifestResourceInfo 对象;如果为找到资源,则为 nullA ManifestResourceInfo object populated with information about the resource's topology, or null if the resource is not found.

注解

此方法用于从非托管代码访问托管类,不应从托管代码调用。This method is for access to managed classes from unmanaged code, and should not be called from managed code.

GetManifestResourceInfo方法返回有关给定资源如何保持的信息。The GetManifestResourceInfo method returns information about how the given resource has been persisted.

适用于

另请参阅