AsClrInt32 Method

Converts edmValue to a Int32 value.

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

Syntax

'Declaration
Public Shared Function AsClrInt32 ( _
    edmValue As IEdmValue _
) As Integer
'Usage
Dim edmValue As IEdmValue
Dim returnValue As Integer

returnValue = EdmToClrConverter.AsClrInt32(edmValue)
public static int AsClrInt32(
    IEdmValue edmValue
)
public:
static int AsClrInt32(
    IEdmValue^ edmValue
)
static member AsClrInt32 : 
        edmValue:IEdmValue -> int 
public static function AsClrInt32(
    edmValue : IEdmValue
) : int

Parameters

Return Value

Type: System..::..Int32
Converted integer.

Exceptions

Exception Condition
InvalidCastException

edmValueIEdmIntegerValue

OverflowException

edmValueInt32

See Also

Reference

EdmToClrConverter Class

Microsoft.Data.Edm.EdmToClrConversion Namespace