SqlCeUpdatableRecord.GetSqlInt16 Method

Returns the value of the specified field as SqlInt16.

Namespace:  System.Data.SqlServerCe
Assembly:  System.Data.SqlServerCe (in System.Data.SqlServerCe.dll)

Syntax

'Declaration
Public Function GetSqlInt16 ( _
    ordinal As Integer _
) As SqlInt16
'Usage
Dim instance As SqlCeUpdatableRecord
Dim ordinal As Integer
Dim returnValue As SqlInt16

returnValue = instance.GetSqlInt16(ordinal)
public SqlInt16 GetSqlInt16(
    int ordinal
)
public:
SqlInt16 GetSqlInt16(
    int ordinal
)
member GetSqlInt16 : 
        ordinal:int -> SqlInt16 
public function GetSqlInt16(
    ordinal : int
) : SqlInt16

Parameters

  • ordinal
    Type: System.Int32
    The field from which to retrieve a value.

Return Value

Type: System.Data.SqlTypes.SqlInt16

See Also

Reference

SqlCeUpdatableRecord Class

System.Data.SqlServerCe Namespace