NameScope.Item[String] Proprietà

Definizione

Ottiene o imposta l'elemento con la chiave specificata.

public:
 property System::Object ^ default[System::String ^] { System::Object ^ get(System::String ^ key); void set(System::String ^ key, System::Object ^ value); };
public object this[string key] { get; set; }
member this.Item(string) : obj with get, set
Default Public Property Item(key As String) As Object

Parametri

key
String

Nome della stringa per il mapping del nome XAML da ottenere o impostare.

Valore della proprietà

Valore dell'oggetto mappato dal nome XAML fornito come key.

Implementazioni

Eccezioni

key viene fornito come null.

oppure

value viene fornito come null per un'operazione set.

Si applica a