XmlNamespaceMappingCollection.Contains(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.
Returns a value that indicates whether this collection contains the specified XmlNamespaceMapping object.
public:
virtual bool Contains(System::Windows::Data::XmlNamespaceMapping ^ mapping);
public bool Contains (System.Windows.Data.XmlNamespaceMapping mapping);
abstract member Contains : System.Windows.Data.XmlNamespaceMapping -> bool
override this.Contains : System.Windows.Data.XmlNamespaceMapping -> bool
Public Function Contains (mapping As XmlNamespaceMapping) As Boolean
Parameters
- mapping
- XmlNamespaceMapping
The XmlNamespaceMapping object of interest. This cannot be null
.
Returns
true
if this collection contains the specified XmlNamespaceMapping object; otherwise, false
.
Implements
Exceptions
If mapping
is null
.
If the Uri of the XmlNamespaceMapping object is null
.