Click or drag to resize

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
)

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: Int32
The node's value, if found; the value of defaultValue otherwise.
Exceptions
ExceptionCondition
ursaExceptionThrown if the node is found but the value cannot be converted into an Int32 value.
See Also