Gets the value of an attribute
Namespace: DotNetNuke.Common.UtilitiesAssembly: 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