AsClrSingle Method

Converts edmValue to a Single value.

Namespace:  Microsoft.Data.Edm.EdmToClrConversion
Assembly:  Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)

Syntax

'Declaration
Public Shared Function AsClrSingle ( _
    edmValue As IEdmValue _
) As Single
'Usage
Dim edmValue As IEdmValue
Dim returnValue As Single

returnValue = EdmToClrConverter.AsClrSingle(edmValue)
public static float AsClrSingle(
    IEdmValue edmValue
)
public:
static float AsClrSingle(
    IEdmValue^ edmValue
)
static member AsClrSingle : 
        edmValue:IEdmValue -> float32 
public static function AsClrSingle(
    edmValue : IEdmValue
) : float

Parameters

Return Value

Type: System..::..Single
Converted single.

Exceptions

Exception Condition
InvalidCastException

edmValueIEdmFloatingValue

See Also

Reference

EdmToClrConverter Class

Microsoft.Data.Edm.EdmToClrConversion Namespace