AsClrDouble Method

Converts edmValue to a Double value.

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

Syntax

'Declaration
Public Shared Function AsClrDouble ( _
    edmValue As IEdmValue _
) As Double
'Usage
Dim edmValue As IEdmValue
Dim returnValue As Double

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

Parameters

Return Value

Type: System..::..Double
Converted double.

Exceptions

Exception Condition
InvalidCastException

edmValueIEdmFloatingValue

See Also

Reference

EdmToClrConverter Class

Microsoft.Data.Edm.EdmToClrConversion Namespace