AsNullableClrDecimal Method

Converts edmValue to a nullable Decimal value.

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

Syntax

'Declaration
Public Shared Function AsNullableClrDecimal ( _
    edmValue As IEdmValue _
) As Nullable(Of Decimal)
'Usage
Dim edmValue As IEdmValue
Dim returnValue As Nullable(Of Decimal)

returnValue = EdmToClrConverter.AsNullableClrDecimal(edmValue)
public static Nullable<decimal> AsNullableClrDecimal(
    IEdmValue edmValue
)
public:
static Nullable<Decimal> AsNullableClrDecimal(
    IEdmValue^ edmValue
)
static member AsNullableClrDecimal : 
        edmValue:IEdmValue -> Nullable<decimal> 
public static function AsNullableClrDecimal(
    edmValue : IEdmValue
) : Nullable<decimal>

Parameters

Return Value

Type: System..::..Nullable< (Of < ( <'Decimal> ) > ) >
Converted decimal.

Exceptions

Exception Condition
InvalidCastException

edmValueIEdmDecimalValue

See Also

Reference

EdmToClrConverter Class

Microsoft.Data.Edm.EdmToClrConversion Namespace