AsNullableClrBoolean Method

Converts edmValue to a nullable Boolean value.

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

Syntax

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

returnValue = EdmToClrConverter.AsNullableClrBoolean(edmValue)
public static Nullable<bool> AsNullableClrBoolean(
    IEdmValue edmValue
)
public:
static Nullable<bool> AsNullableClrBoolean(
    IEdmValue^ edmValue
)
static member AsNullableClrBoolean : 
        edmValue:IEdmValue -> Nullable<bool> 
public static function AsNullableClrBoolean(
    edmValue : IEdmValue
) : Nullable<boolean>

Parameters

Return Value

Type: System..::..Nullable< (Of < ( <'Boolean> ) > ) >
Converted boolean.

Exceptions

Exception Condition
InvalidCastException

edmValueIEdmBooleanValue

See Also

Reference

EdmToClrConverter Class

Microsoft.Data.Edm.EdmToClrConversion Namespace