SingleValue Implicit Conversion (SingleValue to Single)

Implicit converter to Single.

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

Syntax

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

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

Parameters

Return Value

Type: System.Single
The internal Single value.

Exceptions

Exception Condition
InvalidOperationException

Thrown when "xmlAttribute" is null.

See Also

Reference

SingleValue Class

SingleValue Members

Implicit Overload

DocumentFormat.OpenXml Namespace