SqlCeUpdatableRecord.GetFieldType 方法
傳回指定欄位的 CLR 資料類型。
命名空間: System.Data.SqlServerCe
組件: System.Data.SqlServerCe (在 System.Data.SqlServerCe.dll 中)
語法
'宣告
Public Function GetFieldType ( _
ordinal As Integer _
) As Type
'用途
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
參數
- ordinal
型別:System.Int32
要從中擷取值的欄位。
傳回值
型別:System.Type
欄位的 CLR 資料類型。
實作
IDataRecord.GetFieldType(Int32)