Partager via


SingleValue Implicit Conversion (Single to SingleValue)

Implicit converter from Single.

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

Syntax

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

output = CType(input, SingleValue)
public static implicit operator SingleValue (
    float value
)

Parameters

Return Value

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

See Also

Reference

SingleValue Class

SingleValue Members

Implicit Overload

DocumentFormat.OpenXml Namespace