ManifestResourceInfo(Assembly, String, ResourceLocation) 构造函数

定义

为由指定的程序集和文件包含且具有指定位置的资源初始化 ManifestResourceInfo 类的新实例。

public:
 ManifestResourceInfo(System::Reflection::Assembly ^ containingAssembly, System::String ^ containingFileName, System::Reflection::ResourceLocation resourceLocation);
public ManifestResourceInfo (System.Reflection.Assembly containingAssembly, string containingFileName, System.Reflection.ResourceLocation resourceLocation);
public ManifestResourceInfo (System.Reflection.Assembly? containingAssembly, string? containingFileName, System.Reflection.ResourceLocation resourceLocation);
new System.Reflection.ManifestResourceInfo : System.Reflection.Assembly * string * System.Reflection.ResourceLocation -> System.Reflection.ManifestResourceInfo
Public Sub New (containingAssembly As Assembly, containingFileName As String, resourceLocation As ResourceLocation)

参数

containingAssembly
Assembly

包含清单资源的程序集。

containingFileName
String

包含清单资源的文件名(如果该文件与清单文件不同)。

resourceLocation
ResourceLocation

一个枚举值的按位组合,提供有关清单资源位置的信息。

适用于