Compartir a través de


InitString.Exists(XmlNode, String) Method

Definition

Determines whether node specified by xpath is found under parentNode.

protected:
 bool Exists(System::Xml::XmlNode ^ parentNode, System::String ^ xPath);
protected bool Exists (System.Xml.XmlNode parentNode, string xPath);
member this.Exists : System.Xml.XmlNode * string -> bool
Protected Function Exists (parentNode As XmlNode, xPath As String) As Boolean

Parameters

parentNode
XmlNode

Specifies the parent node.

xPath
String

Specifies the xpath.

Returns

True if the xPath is found, otherwise false.

Applies to