PropertyDefinition 類別

定義

支援可在宣告式 XAML 中定義類別屬性的標記技術。

public ref class PropertyDefinition : System::Windows::Markup::MemberDefinition
public class PropertyDefinition : System.Windows.Markup.MemberDefinition
type PropertyDefinition = class
    inherit MemberDefinition
Public Class PropertyDefinition
Inherits MemberDefinition
繼承
PropertyDefinition

備註

在宣告式 XAML 中定義類別成員的整體功能不支援在此 API 中獨立。 此 API 只會提供標記定義,讓宣告在 XAML 中可行。 這類 XAML 解譯方式的實際建置工作處理,是個別建置工作和參考這些工作的特定架構或技術。

建構函式

PropertyDefinition()

初始化 PropertyDefinition 類別的新執行個體。

屬性

Attributes

取得關聯的 CLR 屬性清單。

Modifier

取得或設定所定義之屬性的存取層級。

Name

取得或設定要定義的屬性名稱。

Type

取得或設定要定義之屬性的 XamlType

方法

Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetType()

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
ToString()

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

(繼承來源 Object)

適用於