ManifestResourceInfo(Assembly, String, ResourceLocation) 构造函数
定义
为由指定的程序集和文件包含且具有指定位置的资源初始化 ManifestResourceInfo 类的新实例。Initializes a new instance of the ManifestResourceInfo class for a resource that is contained by the specified assembly and file, and that has the specified location.
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
包含清单资源的程序集。The assembly that contains the manifest resource.
- containingFileName
- String
包含清单资源的文件名(如果该文件与清单文件不同)。The name of the file that contains the manifest resource, if the file is not the same as the manifest file.
- resourceLocation
- ResourceLocation
一个枚举值的按位组合,提供有关清单资源位置的信息。A bitwise combination of enumeration values that provides information about the location of the manifest resource.