XmlHelperGetNodeValue Method (XmlNode, String, Int32) |
Gets an XML node's value and stores it to an Int32 variable.
Namespace: com.softwarekey.Client.UtilsAssembly: PLUSManaged (in PLUSManaged.dll) Version: 5.23.4.0
Syntax public static void GetNodeValue(
XmlNode xml,
string xpath,
ref int value
)
Public Shared Sub GetNodeValue (
xml As XmlNode,
xpath As String,
ByRef value As Integer
)
public:
static void GetNodeValue(
XmlNode^ xml,
String^ xpath,
int% value
)
Parameters
- xml
- Type: System.XmlXmlNode
The root XML node. - xpath
- Type: SystemString
The XPath of the node to parse. - value
- Type: SystemInt32
The Int32 value parsed from the XML node. This will be set to 0 if parsing fails.
See Also