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)