次の方法で共有


IIndexableAttribute.Item プロパティ

指定されたキーを持つ属性を取得します。

名前空間:  Microsoft.Windows.Design.PropertyEditing
アセンブリ:  Microsoft.Windows.Design.Interaction (Microsoft.Windows.Design.Interaction.dll 内)

構文

'宣言
ReadOnly Default Property Item ( _
    key As String _
) As Attribute
    Get
Attribute this[
    string key
] { get; }
property Attribute^ default[String^ key] {
    Attribute^ get (String^ key);
}
abstract Item : Attribute
JScript では、インデックス付きプロパティはサポートされません。

パラメーター

プロパティ値

型: System.Attribute
key に対応する Attribute

.NET Framework セキュリティ

  • 直前の呼び出し元に対する完全な信頼。 このメンバーは、部分的に信頼されているコードから使用することはできません。 詳細については、「部分信頼コードからのライブラリの使用」を参照してください。

参照

参照

IIndexableAttribute インターフェイス

Microsoft.Windows.Design.PropertyEditing 名前空間