ScanUtilsxeElementValueAsInt Method |
Extract value as int from JSON.
Namespace: asprise_imaging_apiAssembly: asprise-imaging-scan.net-api (in asprise-imaging-scan.net-api.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public static int xeElementValueAsInt(
XElement xe,
string elementName,
int defaultValue
)
Public Shared Function xeElementValueAsInt (
xe As XElement,
elementName As String,
defaultValue As Integer
) As Integer
public:
static int xeElementValueAsInt(
XElement^ xe,
String^ elementName,
int defaultValue
)
static member xeElementValueAsInt :
xe : XElement *
elementName : string *
defaultValue : int -> int
Parameters
- xe
- Type: System.Xml.LinqXElement
- elementName
- Type: SystemString
- defaultValue
- Type: SystemInt32
Return Value
Type:
Int32See Also