EAPConvertToInt64 Method (Object, Int64) |
Convert an object to an int64 handling the case when the object is DBNull.
When the object is null, the return value is the value of the defaultValue parameter.
Namespace:
NetQuarry
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public static long ToInt64(
Object value,
long defaultValue
)
Public Shared Function ToInt64 (
value As Object,
defaultValue As Long
) As Long
Parameters
- value
- Type: SystemObject
The object to convert - defaultValue
- Type: SystemInt64
The value to return if the object is DBNull.
Return Value
Type:
Int64The converted object as an integer.
See Also