ManifestResourceInfo ManifestResourceInfo ManifestResourceInfo ManifestResourceInfo Class

定義

提供對資訊清單 (Manifest) 資源的存取,資訊清單資源就是描述應用程式相依性的 XML 檔案。Provides access to manifest resources, which are XML files that describe application dependencies.

public ref class ManifestResourceInfo
[System.Runtime.InteropServices.ComVisible(true)]
public class ManifestResourceInfo
type ManifestResourceInfo = class
Public Class ManifestResourceInfo
繼承
ManifestResourceInfoManifestResourceInfoManifestResourceInfoManifestResourceInfo
屬性

建構函式

ManifestResourceInfo(Assembly, String, ResourceLocation) ManifestResourceInfo(Assembly, String, ResourceLocation) ManifestResourceInfo(Assembly, String, ResourceLocation) 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.

屬性

FileName FileName FileName FileName

如果與資訊清單檔不同時,取得含有資訊清單資源的檔名。Gets the name of the file that contains the manifest resource, if it is not the same as the manifest file.

ReferencedAssembly ReferencedAssembly ReferencedAssembly ReferencedAssembly

為資訊清單資源取得包含組件。Gets the containing assembly for the manifest resource.

ResourceLocation ResourceLocation ResourceLocation ResourceLocation

取得資訊清單資源的位置。Gets the manifest resource's location.

方法

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

判斷指定的物件是否等於目前的物件。Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

做為預設雜湊函式。Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

建立目前 Object 的淺層複本 (Shallow Copy)。Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

傳回代表目前物件的字串。Returns a string that represents the current object.

(Inherited from Object)

適用於

執行緒安全性

此型別具備執行緒安全。This type is thread safe.