Share via


SqlCeUpdatableRecord.GetFieldType Method

Returns the CLR datatype for the specified field.

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

Syntax

'Declaration
Public Function GetFieldType ( _
    ordinal As Integer _
) As Type
'Usage
Dim instance As SqlCeUpdatableRecord
Dim ordinal As Integer
Dim returnValue As Type

returnValue = instance.GetFieldType(ordinal)
public Type GetFieldType(
    int ordinal
)
public:
virtual Type^ GetFieldType(
    int ordinal
) sealed
abstract GetFieldType : 
        ordinal:int -> Type 
override GetFieldType : 
        ordinal:int -> Type 
public final function GetFieldType(
    ordinal : int
) : Type

Parameters

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

Return Value

Type: System.Type
The CLR datatype for the field.

Implements

IDataRecord.GetFieldType(Int32)

See Also

Reference

SqlCeUpdatableRecord Class

System.Data.SqlServerCe Namespace