XPathAtomicValue.CreateInteger MethodXPathAtomicValue.CreateInteger MethodXPathAtomicValue::CreateInteger Method
Creates a new instance of the XPathAtomicValueXPathAtomicValueXPathAtomicValue class from a decimalDecimaldecimal value.
Syntax
Public Shared Function CreateInteger( _ value As Decimal _ ) As XPathAtomicValue
public static XPathAtomicValue CreateInteger( decimal value )
public: static XPathAtomicValue^ CreateInteger( decimal value )
Parameters
- value
Type: System.DecimalSystem.DecimalSystem::Decimal
The value of the created atomic value.
Return Value
Type: XmlPrime.XPathAtomicValueXmlPrime.XPathAtomicValueXmlPrime::XPathAtomicValue^
A new XPathAtomicValueXPathAtomicValueXPathAtomicValue with type xs:integer
.
Exceptions
Exception | Condition |
ArgumentExceptionArgumentExceptionArgumentException | value is not a valid xs:integer value. |