Gets the value of a child node as an Int32
Namespace: DotNetNuke.Common.UtilitiesAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
public static int GetNodeValueInt( XPathNavigator navigator, string path ) |
Visual Basic |
---|
Public Shared Function GetNodeValueInt ( navigator As XPathNavigator, path As String ) As Integer |
Parameters
- navigator
- Type: System.Xml.XPath..::..XPathNavigator
A navigator pointing to the parent node
- path
- Type: System..::..String
An XPath expression to find the child node