InitString.GetNodeInnerTextBool(XmlNode, Boolean) 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.
Retrieves boolean-interpreted value of InnerText of specified node, returns defaultValue if interpretation fails.
protected:
static bool GetNodeInnerTextBool(System::Xml::XmlNode ^ node, bool defaultValue);
protected static bool GetNodeInnerTextBool (System.Xml.XmlNode node, bool defaultValue);
static member GetNodeInnerTextBool : System.Xml.XmlNode * bool -> bool
Protected Shared Function GetNodeInnerTextBool (node As XmlNode, defaultValue As Boolean) As Boolean
Parameters
- node
- XmlNode
Specifies the node.
- defaultValue
- Boolean
True
Returns
True
if the text is successfully retrieved, otherwise false
.