Redigera

Dela via


XmlNamespaceMappingCollection.Remove(XmlNamespaceMapping) Method

Definition

Removes the specified XmlNamespaceMapping object from this collection.

public:
 virtual bool Remove(System::Windows::Data::XmlNamespaceMapping ^ mapping);
public bool Remove (System.Windows.Data.XmlNamespaceMapping mapping);
abstract member Remove : System.Windows.Data.XmlNamespaceMapping -> bool
override this.Remove : System.Windows.Data.XmlNamespaceMapping -> bool
Public Function Remove (mapping As XmlNamespaceMapping) As Boolean

Parameters

mapping
XmlNamespaceMapping

The XmlNamespaceMapping object to remove. This cannot be null.

Returns

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

Implements

Exceptions

If mapping is null.

If the Uri of the XmlNamespaceMapping object is null.

Applies to