XmlNamespaceMappingCollection.Add Method (XmlNamespaceMapping)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Adds a XmlNamespaceMapping object to this collection.

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

public void Add(
	XmlNamespaceMapping mapping
)

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: