DecimalValue Implicit Conversion (DecimalValue to Decimal)

Implicit converter to Decimal.

Namespace:  DocumentFormat.OpenXml
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
Public Shared Widening Operator CType ( _
    xmlAttribute As DecimalValue _
) As Decimal
'Usage
Dim input As DecimalValue
Dim output As Decimal

output = CType(input, Decimal)
public static implicit operator decimal (
    DecimalValue xmlAttribute
)

Parameters

Return Value

Type: System.Decimal
The internal Decimal value.

Exceptions

Exception Condition
InvalidOperationException

Thrown when "xmlAttribute" is null.

See Also

Reference

DecimalValue Class

DecimalValue Members

Implicit Overload

DocumentFormat.OpenXml Namespace