XmlNamespaceMappingCollection.Remove 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.

Removes the specified XmlNamespaceMapping object from this collection.

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

public bool Remove(
	XmlNamespaceMapping mapping
)

Parameters

mapping
Type: System.Windows.Data.XmlNamespaceMapping

The XmlNamespaceMapping object to remove. This cannot be null.

Return Value

Type: System.Boolean

true if the specified XmlNamespaceMapping object has been successfully removed; otherwise, false.

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: