Share via


InitString.GetNodeInnerTextBool(XmlNode, Boolean) Method

Definition

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.

Applies to