GetInt64 Method (String)

MySQL Connector.Net

Collapse image Expand Image Copy image CopyHover image
Gets the value of the specified column as a 64-bit signed integer.

Namespace: MySql.Data.MySqlClient
Assembly: MySql.Data (in MySql.Data.dll) Version: 6.8.4.0

Syntax

C#
public long GetInt64(
	string column
)
Visual Basic
Public Function GetInt64 ( _
	column As String _
) As Long
Visual C++
public:
long long GetInt64(
	String^ column
)

Parameters

column
Type: System..::..String
The column name.

Return Value

The value of the specified column.

Remarks

No conversions are performed; therefore, the data retrieved must already be a 64 bit integer value.

Call IsDBNull to check for null values before calling this method.

See Also