InitString.Exists(XmlNode, String) 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.
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
.