共用方式為


DecimalValue Implicit Conversion (Decimal to DecimalValue)

Implicit converter from Decimal.

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

Syntax

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

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

Parameters

Return Value

Type: DocumentFormat.OpenXml.DecimalValue
A new DecimalValue instance with the value.

See Also

Reference

DecimalValue Class

DecimalValue Members

Implicit Overload

DocumentFormat.OpenXml Namespace