Api.RetrieveColumnSize 方法 (JET_SESID、JET_TABLEID、JET_COLUMNID、Int32、RetrieveColumnGrbit)

从当前记录中检索单个列值的大小。 记录是与光标当前位置的索引项关联的记录。 或者,此函数可以从在游标复制缓冲区中创建的记录中检索列。 此函数还可以从引用当前记录的索引项中检索列数据。

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

语法

'Declaration
Public Shared Function RetrieveColumnSize ( _
    sesid As JET_SESID, _
    tableid As JET_TABLEID, _
    columnid As JET_COLUMNID, _
    itagSequence As Integer, _
    grbit As RetrieveColumnGrbit _
) As Nullable(Of Integer)
'Usage
Dim sesid As JET_SESID
Dim tableid As JET_TABLEID
Dim columnid As JET_COLUMNID
Dim itagSequence As Integer
Dim grbit As RetrieveColumnGrbit
Dim returnValue As Nullable(Of Integer)

returnValue = Api.RetrieveColumnSize(sesid, _
    tableid, columnid, itagSequence, _
    grbit)
public static Nullable<int> RetrieveColumnSize(
    JET_SESID sesid,
    JET_TABLEID tableid,
    JET_COLUMNID columnid,
    int itagSequence,
    RetrieveColumnGrbit grbit
)

parameters

  • itagSequence
    类型: System.Int32

    多值列中值的序列号。 值的数组从 1 开始。 第一个值是序列 1,而不是 0。 如果记录列只有一个值,则应将 1 作为 itagSequence 传递。

返回值

类型: System.Nullable<Int32>
列的大小。 如果列为 null,则为 0。

请参阅

参考

Api 类

Api 成员

RetrieveColumnSize 重载

Microsoft.Isam.Esent.Interop 命名空间