DecimalValue Implicit Conversion (Decimal to DecimalValue)
Implicit converter from Decimal.
Namespace: DocumentFormat.OpenXml
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
声明
Public Shared Widening Operator CType ( _
value As Decimal _
) As DecimalValue
用法
Dim input As Decimal
Dim output As DecimalValue
output = CType(input, DecimalValue)
public static implicit operator DecimalValue (
decimal value
)
Parameters
- value
Type: System.Decimal
The specified value.
Return Value
Type: DocumentFormat.OpenXml.DecimalValue
A new DecimalValue instance with the value.