Gets the value of node
Namespace: DotNetNuke.Common.UtilitiesAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
public static string GetNodeValue( XmlNode objNode, string nodeName ) |
Visual Basic |
---|
Public Shared Function GetNodeValue ( objNode As XmlNode, nodeName As String ) As String |
Parameters
- objNode
- Type: System.Xml..::..XmlNode
Parent node
- nodeName
- Type: System..::..String
Child node to look for
Return Value
returnsM:DotNetNuke.Common.Utilities.XmlUtils.GetNodeValue(System.Xml.XmlNode,System.String)
Remarks
If the node does not exist or it causes any error the default value will be returned.