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

列舉值的位元組合,提供關於資訊清單資源的位置資訊。

適用於