| 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:
SamoyedSoftware.ursa
Assembly:
SamoyedSoftware.ursa (in SamoyedSoftware.ursa.dll) Version: 0.2.0
Syntax protected 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.
Exceptions Exception | Condition |
---|
ursaException | Thrown if the node is found but the value cannot be converted into an Int32 value. |
See Also