XmlQueryNodeSequence.ICollection<XPathItem>.Contains(XPathItem) 方法

定义

如果指定的值在序列中,则返回 true。

此 API 支持产品基础结构,不能在代码中直接使用。

 virtual bool System.Collections.Generic.ICollection<System.Xml.XPath.XPathItem>.Contains(System::Xml::XPath::XPathItem ^ value) = System::Collections::Generic::ICollection<System::Xml::XPath::XPathItem ^>::Contains;
bool ICollection<XPathItem>.Contains (System.Xml.XPath.XPathItem value);
abstract member System.Collections.Generic.ICollection<System.Xml.XPath.XPathItem>.Contains : System.Xml.XPath.XPathItem -> bool
override this.System.Collections.Generic.ICollection<System.Xml.XPath.XPathItem>.Contains : System.Xml.XPath.XPathItem -> bool
Function Contains (value As XPathItem) As Boolean Implements ICollection(Of XPathItem).Contains

参数

value
XPathItem

XPathItem 类的实例。

返回

Boolean

如果此值在序列中,则为 true;否则为 false

实现

适用于