 | SecurIdSdtidTokenFindXmlIntValue Method |
Search the XML of the current instance for a node with a given name and return the node's value as an
Int32 value, or a default value if the node is not found.
Namespace:
ursa
Assembly:
ursa (in ursa.dll) Version: 0.1.1.0 (0.1.1.0)
Syntaxprotected int FindXmlIntValue(
string name,
int defaultValue
)
Protected Function FindXmlIntValue (
name As String,
defaultValue As Integer
) As Integer
protected:
int FindXmlIntValue(
String^ name,
int defaultValue
)
member FindXmlIntValue :
name : string *
defaultValue : int -> int
Parameters
- name
- Type: SystemString
The name of the node to find. - defaultValue
- Type: SystemInt32
The default value to return, if the node is not found.
Return Value
Type:
Int32The node's value, if found; the value of
defaultValue otherwise.
ExceptionsException | Condition |
---|
ursaException | Thrown if the node is found but the value cannot be converted into an Int32 value. |
See Also