Edit

Share via


NameScope.Item[String] Property

Definition

Gets or sets the item with the specified key.

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

Parameters

key
String

The string name for the XAML name mapping to get or set.

Property Value

The value of the object mapped by the XAML name provided as key.

Implements

Exceptions

key is provided as null.

-or-

value is provided as null for a set operation.

Applies to