XmlNamespaceMappingCollection.Remove(XmlNamespaceMapping) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.