ExportMetadataAttribute 類別

定義

指定以 ExportAttribute 屬性標示之類型、屬性、欄位或方法的元數據。

public ref class ExportMetadataAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Interface | System.AttributeTargets.Property, AllowMultiple=true, Inherited=false)]
public sealed class ExportMetadataAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Interface | System.AttributeTargets.Property, AllowMultiple=true, Inherited=false)>]
type ExportMetadataAttribute = class
    inherit Attribute
Public NotInheritable Class ExportMetadataAttribute
Inherits Attribute
繼承
ExportMetadataAttribute
屬性

建構函式

名稱 Description
ExportMetadataAttribute(String, Object)

初始化一個以指定名稱和元資料值的新類別實例 ExportMetadataAttribute

屬性

名稱 Description
Name

取得元資料值的名稱。

Value

取得元資料值。

方法

名稱 Description
Equals(Object)

傳回值,這個值表示這個實例是否等於指定的物件。

(繼承來源 Attribute)
GetHashCode()

傳回這個實例的哈希碼。

(繼承來源 Attribute)
GetType()

取得目前實例的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object的淺層複本。

(繼承來源 Object)
ToString()

傳回表示目前 物件的字串。

(繼承來源 Object)

適用於