ScanUtilsxeElementValueAsDecimal Method |
Extract value as decimal 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 decimal xeElementValueAsDecimal(
XElement xe,
string elementName,
decimal defaultValue
)
Public Shared Function xeElementValueAsDecimal (
xe As XElement,
elementName As String,
defaultValue As Decimal
) As Decimal
public:
static Decimal xeElementValueAsDecimal(
XElement^ xe,
String^ elementName,
Decimal defaultValue
)
static member xeElementValueAsDecimal :
xe : XElement *
elementName : string *
defaultValue : decimal -> decimal
Parameters
- xe
- Type: System.Xml.LinqXElement
- elementName
- Type: SystemString
- defaultValue
- Type: SystemDecimal
Return Value
Type:
DecimalSee Also