Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns the value of the column at the specified index as type SqlInt32.
Namespace: System.Data.SqlServerCe
Assembly: System.Data.SqlServerCe (in System.Data.SqlServerCe.dll)
Syntax
'Declaration
Public Overrides Function GetSqlInt32 ( _
ordinal As Integer _
) As SqlInt32
'Usage
Dim instance As SqlCeResultSet
Dim ordinal As Integer
Dim returnValue As SqlInt32
returnValue = instance.GetSqlInt32(ordinal)
public override SqlInt32 GetSqlInt32(
int ordinal
)
public:
virtual SqlInt32 GetSqlInt32(
int ordinal
) override
abstract GetSqlInt32 :
ordinal:int -> SqlInt32
override GetSqlInt32 :
ordinal:int -> SqlInt32
public override function GetSqlInt32(
ordinal : int
) : SqlInt32
Parameters
- ordinal
Type: System.Int32
The ordinal position of the column from which to retrieve data.
Return Value
Type: System.Data.SqlTypes.SqlInt32
The value of the column at the specified index.
Remarks
An exception is thrown if no field exists at the specified ordinal position.