summaryM:DotNetNuke.Common.Utilities.XmlUtils.GetAttributeValueAsBoolean(System.Xml.XPath.XPathNavigator,System.String,System.Boolean)

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

Syntax

C#
public static bool GetAttributeValueAsBoolean(
	XPathNavigator navigator,
	string attributeName,
	bool defaultValue
)
Visual Basic
Public Shared Function GetAttributeValueAsBoolean ( 
	navigator As XPathNavigator,
	attributeName As String,
	defaultValue As Boolean
) As Boolean

Parameters

navigator
Type: System.Xml.XPath..::..XPathNavigator
paramnavigatorM:DotNetNuke.Common.Utilities.XmlUtils.GetAttributeValueAsBoolean(System.Xml.XPath.XPathNavigator,System.String,System.Boolean)
attributeName
Type: System..::..String
paramattributeNameM:DotNetNuke.Common.Utilities.XmlUtils.GetAttributeValueAsBoolean(System.Xml.XPath.XPathNavigator,System.String,System.Boolean)
defaultValue
Type: System..::..Boolean
paramdefaultValueM:DotNetNuke.Common.Utilities.XmlUtils.GetAttributeValueAsBoolean(System.Xml.XPath.XPathNavigator,System.String,System.Boolean)

Return Value

returnsM:DotNetNuke.Common.Utilities.XmlUtils.GetAttributeValueAsBoolean(System.Xml.XPath.XPathNavigator,System.String,System.Boolean)

See Also