ArcFM Responder Mobile Developer Guide
ToInt64 Method






A value to convert
The conversion value for null and DBNull values
DBNull and null aware conversion to int64
Syntax
'Declaration
 
Public Shared Function ToInt64( _
   ByVal value As System.Object, _
   ByVal nullValue As System.Long _
) As System.Long
'Usage
 
Dim value As System.Object
Dim nullValue As System.Long
Dim value As System.Long
 
value = DbConvert.ToInt64(value, nullValue)
public static System.long ToInt64( 
   System.object value,
   System.long nullValue
)
public function ToInt64( 
    value: System.TObject;
    nullValue: System.Int64
): System.Int64; static; 
public static function ToInt64( 
   value : System.Object,
   nullValue : System.long
) : System.long;
public: static System.long ToInt64( 
   System.Object* value,
   System.long nullValue
) 
public:
static System.int64 ToInt64( 
   System.Object^ value,
   System.int64 nullValue
) 

Parameters

value
A value to convert
nullValue
The conversion value for null and DBNull values

Return Value

The int64 equivalent of the input value
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DbConvert Class
DbConvert Members

Send Feedback