AsClrInt64 Method
Converts edmValue to a Int64 value.
Namespace: Microsoft.Data.Edm.EdmToClrConversion
Assembly: Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)
Syntax
'Declaration
Public Shared Function AsClrInt64 ( _
edmValue As IEdmValue _
) As Long
'Usage
Dim edmValue As IEdmValue
Dim returnValue As Long
returnValue = EdmToClrConverter.AsClrInt64(edmValue)
public static long AsClrInt64(
IEdmValue edmValue
)
public:
static long long AsClrInt64(
IEdmValue^ edmValue
)
static member AsClrInt64 :
edmValue:IEdmValue -> int64
public static function AsClrInt64(
edmValue : IEdmValue
) : long
Parameters
- edmValue
Type: Microsoft.Data.Edm.Values..::..IEdmValue
The EDM value to be converted.
Return Value
Type: System..::..Int64
Converted integer.
Exceptions
| Exception | Condition |
|---|---|
| InvalidCastException | edmValueIEdmIntegerValue |