XmlNamespaceMappingCollection::Add Method (XmlNamespaceMapping^)

 

Adds a XmlNamespaceMapping object to this collection.

Namespace:   System.Windows.Data
Assembly:  PresentationFramework (in PresentationFramework.dll)

public:
virtual void Add(
	XmlNamespaceMapping^ mapping
) sealed

Parameters

mapping
Type: System.Windows.Data::XmlNamespaceMapping^

The XmlNamespaceMapping object to add. This cannot be null.

Exception Condition
ArgumentNullException

If mapping is null.

ArgumentException

If the Uri of the XmlNamespaceMapping object is null.

.NET Framework
Available since 3.0
Return to top
Show: