NameScope.Item[String] Propriété
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Obtient ou définit l’élément avec la clé spécifiée.
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
Paramètres
- key
- String
Nom de chaîne pour le mappage de noms XAML à obtenir ou définir.
Valeur de propriété
Valeur de l’objet mappé par le nom XAML fourni en tant que key.
Implémente
Exceptions
key est fourni en tant que null.
- ou -
value est fourni comme null pour une opération définie.