NameScope.Add Method (String, Object)
Adds an item to the collection.
Assembly: WindowsBase (in WindowsBase.dll)
The string key, which is the name of the XAML namescope mapping to add.
The object value, which is the object reference of the XAML namescope mapping to add.
Available since 4.0