Api.RetrieveColumnAsUInt16 方法 (JET_SESID、JET_TABLEID、JET_COLUMNID)

从当前记录中检索 uint16 列值。 记录是与光标当前位置处的索引项关联的记录。

此 API 不符合 CLS。 

Namespace:Microsoft.Isam.Esent.Interop
装配: Microsoft.Isam.Esent.Interop.dll) 中的 Microsoft.Isam.Esent.Interop (

语法

'Declaration
<CLSCompliantAttribute(False)> _
Public Shared Function RetrieveColumnAsUInt16 ( _
    sesid As JET_SESID, _
    tableid As JET_TABLEID, _
    columnid As JET_COLUMNID _
) As Nullable(Of UShort)
'Usage
Dim sesid As JET_SESID
Dim tableid As JET_TABLEID
Dim columnid As JET_COLUMNID
Dim returnValue As Nullable(Of UShort)

returnValue = Api.RetrieveColumnAsUInt16(sesid, _
    tableid, columnid)
[CLSCompliantAttribute(false)]
public static Nullable<ushort> RetrieveColumnAsUInt16(
    JET_SESID sesid,
    JET_TABLEID tableid,
    JET_COLUMNID columnid
)

参数

返回值

类型: System.Nullable<UInt16>
以 UInt16 的形式从列中检索的数据。 如果该列为 null,则为 Null。

另请参阅

参考

Api 类

Api 成员

RetrieveColumnAsUInt16 重载

Microsoft.Isam.Esent.Interop 命名空间