共用方式為


SingleValue.ToSingle Method

Returns the internal Single representation of a SingleValue object.

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

Syntax

'Declaration
Public Shared Function ToSingle ( _
    xmlAttribute As SingleValue _
) As Single
'Usage
Dim xmlAttribute As SingleValue
Dim returnValue As Single

returnValue = SingleValue.ToSingle(xmlAttribute)
public static float ToSingle(
    SingleValue xmlAttribute
)

Parameters

Return Value

Type: System.Single
A Single value that represents a SingleValue object.

See Also

Reference

SingleValue Class

SingleValue Members

DocumentFormat.OpenXml Namespace