SingleValue.ToSingle Method
Returns the internal Single representation of a SingleValue object.
Namespace: DocumentFormat.OpenXml
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
声明
Public Shared Function ToSingle ( _
xmlAttribute As SingleValue _
) As Single
用法
Dim xmlAttribute As SingleValue
Dim returnValue As Single
returnValue = SingleValue.ToSingle(xmlAttribute)
public static float ToSingle(
SingleValue xmlAttribute
)
Parameters
- xmlAttribute
Type: DocumentFormat.OpenXml.SingleValue
A SingleValue object to retrieve an internal Single representation.
Return Value
Type: System.Single
A Single value that represents a SingleValue object.