IIndexableAttribute.Item, propriété
Obtient l'attribut avec la clé spécifiée.
Espace de noms : Microsoft.Windows.Design.PropertyEditing
Assembly : Microsoft.Windows.Design.Interaction (dans Microsoft.Windows.Design.Interaction.dll)
Syntaxe
'Déclaration
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 ne prend pas en charge les propriétés indexées.
Paramètres
- key
Type : System.String
Clé pour laquelle obtenir la Attribute correspondante.
Valeur de propriété
Type : System.Attribute
Attribute correspondant à key.
Sécurité .NET Framework
- Confiance totale accordée à l'appelant immédiat. Ce membre ne peut pas être utilisé par du code d'un niveau de confiance partiel. Pour plus d'informations, consultez Utilisation de bibliothèques à partir de code d'un niveau de confiance partiel.