PartMetadataAttribute 類別

定義

指定元件的元數據。

public ref class PartMetadataAttribute : Attribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=false)]
public class PartMetadataAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=false)>]
type PartMetadataAttribute = class
    inherit Attribute
Public Class PartMetadataAttribute
Inherits Attribute
繼承
PartMetadataAttribute
衍生
屬性

建構函式

名稱 Description
PartMetadataAttribute(String, Object)

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

屬性

名稱 Description
Name

取得元資料值的名稱。

Value

取得元資料值。

方法

名稱 Description
Equals(Object)

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

(繼承來源 Attribute)
GetHashCode()

傳回這個實例的哈希碼。

(繼承來源 Attribute)
GetType()

取得目前實例的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object的淺層複本。

(繼承來源 Object)
ToString()

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

(繼承來源 Object)

適用於