NameScope.Item Property (String)

.NET Framework (current version)
 

Gets or sets the item with the specified key.

Namespace:   System.Windows
Assembly:  WindowsBase (in WindowsBase.dll)

public object this[
	string key
] { get; set; }

Parameters

key
Type: System.String

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

Property Value

Type: System.Object

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

Exception Condition
ArgumentNullException

key is provided as null.

-or-

value is provided as null for a set operation.

.NET Framework
Available since 4.0
Return to top
Show: