Gets the value of node

Namespace: DotNetNuke.Common.Utilities
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
public static bool GetNodeValueBoolean(
	XmlNode objNode,
	string nodeName
)
Visual Basic
Public Shared Function GetNodeValueBoolean ( 
	objNode As XmlNode,
	nodeName As String
) As Boolean

Parameters

objNode
Type: System.Xml..::..XmlNode
Parent node
nodeName
Type: System..::..String
Child node to look for

Return Value

returnsM:DotNetNuke.Common.Utilities.XmlUtils.GetNodeValueBoolean(System.Xml.XmlNode,System.String)

Remarks

If the node does not exist or it causes any error the default value (False) will be returned.

See Also