Gets the value of an attribute

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

Syntax

C#
public static string GetAttributeValue(
	XPathNavigator nav,
	string attributeName
)
Visual Basic
Public Shared Function GetAttributeValue ( 
	nav As XPathNavigator,
	attributeName As String
) As String

Parameters

nav
Type: System.Xml.XPath..::..XPathNavigator
Parent XPathNavigator
attributeName
Type: System..::..String
Thename of the Attribute

Return Value

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

See Also