Partager via


SingleValue.FromSingle Method

Returns a new SingleValue object created from Single.

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

Syntax

'Declaration
Public Shared Function FromSingle ( _
    value As Single _
) As SingleValue
'Usage
Dim value As Single
Dim returnValue As SingleValue

returnValue = SingleValue.FromSingle(value)
public static SingleValue FromSingle(
    float value
)

Parameters

  • value
    Type: System.Single
    A Single value to create a new SingleValue object from.

Return Value

Type: DocumentFormat.OpenXml.SingleValue
A SingleValue that corresponds to the value parameter.

See Also

Reference

SingleValue Class

SingleValue Members

DocumentFormat.OpenXml Namespace