SqlCeUpdatableRecord.GetOrdinal Method
Returns the ordinal for the field specified in the passed-in name.
Namespace: System.Data.SqlServerCe
Assembly: System.Data.SqlServerCe (in System.Data.SqlServerCe.dll)
Syntax
'Declaration
Public Function GetOrdinal ( _
name As String _
) As Integer
'Usage
Dim instance As SqlCeUpdatableRecord
Dim name As String
Dim returnValue As Integer
returnValue = instance.GetOrdinal(name)
public int GetOrdinal(
string name
)
public:
virtual int GetOrdinal(
String^ name
) sealed
abstract GetOrdinal :
name:string -> int
override GetOrdinal :
name:string -> int
public final function GetOrdinal(
name : String
) : int
Parameters
- name
Type: System.String
The name of the field from which to determine the ordinal.
Return Value
Type: System.Int32
Implements
IDataRecord.GetOrdinal(String)