Export 類別

定義

表示一種匯出,這是由延遲建立匯出物件和描述該物件的中繼資料組成的型別。Represents an export, which is a type that consists of a delay-created exported object and the metadata that describes that object.

public ref class Export
public class Export
type Export = class
Public Class Export
繼承
Export

建構函式

Export()

初始化 Export 類別的新執行個體。Initializes a new instance of the Export class.

Export(ExportDefinition, Func<Object>)

使用指定的匯出定義和匯出物件 getter,初始化 Export 類別的新執行個體。Initializes a new instance of the Export class with the specified export definition and exported object getter.

Export(String, Func<Object>)

使用指定的合約名稱和匯出值 getter,初始化 Export 類別的新執行個體。Initializes a new instance of the Export class with the specified contract name and exported value getter.

Export(String, IDictionary<String,Object>, Func<Object>)

使用指定的合約名稱、中繼資料和匯出值 getter,初始化 Export 類別的新執行個體。Initializes a new instance of the Export class with the specified contract name, metadata, and exported value getter.

屬性

Definition

取得定義,這個定義描述匯出所滿足的合約。Gets the definition that describes the contract that the export satisfies.

Metadata

取得匯出的中繼資料。Gets the metadata for the export.

Value

提供這個匯出所表示的物件。Provides the object this export represents.

方法

Equals(Object)

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

(繼承來源 Object)
GetExportedValueCore()

傳回匯出所提供的匯出物件。Returns the exported object the export provides.

GetHashCode()

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

(繼承來源 Object)
GetType()

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

(繼承來源 Object)
MemberwiseClone()

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

(繼承來源 Object)
ToString()

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

(繼承來源 Object)

適用於