Proprietà IIndexableAttribute.Item
Ottiene l'attributo con la chiave specificata.
Spazio dei nomi: Microsoft.Windows.Design.PropertyEditing
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Sintassi
'Dichiarazione
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 non supporta le proprietà indicizzate.
Parametri
- key
Tipo: System.String
Chiave per cui ottenere l'oggetto Attribute corrispondente.
Valore proprietà
Tipo: System.Attribute
Oggetto Attribute che corrisponde a key.
Sicurezza di .NET Framework
- Attendibilità totale per il chiamante immediato. Impossibile utilizzare questo membro in codice parzialmente attendibile. Per ulteriori informazioni, vedere Utilizzo di librerie da codice parzialmente attendibile.