DecimalValue Implicit-Konvertierung (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
)
Parameter
- xmlAttribute
Typ: DocumentFormat.OpenXml.DecimalValue
The DecimalValue to be converted.
Rückgabewert
Typ: System.Decimal
The internal Decimal value.
Ausnahmen
Ausnahme | Bedingung |
---|---|
InvalidOperationException | Thrown when "xmlAttribute" is null. |