編輯

共用方式為


XmlNamespaceMappingCollection.Contains(XmlNamespaceMapping) Method

Definition

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.

Applies to