共用方式為


CategoryEntry.Item 屬性

在衍生類別中覆寫時,取得指定的屬性。

命名空間:  Microsoft.Windows.Design.PropertyEditing
組件:  Microsoft.Windows.Design.Interaction (在 Microsoft.Windows.Design.Interaction.dll 中)

語法

'宣告
Public MustOverride ReadOnly Default Property Item ( _
    propertyName As String _
) As PropertyEntry
    Get
public abstract PropertyEntry this[
    string propertyName
] { get; }
public:
virtual property PropertyEntry^ default[String^ propertyName] {
    PropertyEntry^ get (String^ propertyName) abstract;
}
abstract Item : PropertyEntry
JScript 不支援索引屬性。

參數

  • propertyName
    型別:System.String
    要傳回的屬性名稱。

屬性值

型別:Microsoft.Windows.Design.PropertyEditing.PropertyEntry
由 propertyName 指定的屬性。

備註

這個屬性會做為 Properties 屬性的索引子。

.NET Framework 安全性

請參閱

參考

CategoryEntry 類別

Microsoft.Windows.Design.PropertyEditing 命名空間

其他資源

WPF 設計工具擴充性

屬性編輯架構

索引子 (C# 程式設計手冊)