XmlNamespaceMappingCollection::Remove Method (XmlNamespaceMapping^)

 

Removes the specified XmlNamespaceMapping object from this collection.

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

public:
virtual bool Remove(
	XmlNamespaceMapping^ mapping
) sealed

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: