共用方式為


COLUMN_ENTRY_TYPE_SIZE

Represents a binding to the specific column in the database. Supports type and size parameters.

COLUMN_ENTRY_TYPE_SIZE(nOrdinal, wType, nLength, data )

Parameters

  • nOrdinal
    [in] The column number.

  • wType
    [in] Data type of column entry.

  • nLength
    [in] Size of column entry in bytes.

  • data
    [in] The corresponding data member in the user record.

Remarks

This macro is a specialized variant of the COLUMN_ENTRY macro that provides a means of specifying data size and type.

Requirements

Header: atldbcli.h

See Also

Concepts

Macros and Global Functions for OLE DB Consumer Templates

BEGIN_COLUMN_MAP

END_COLUMN_MAP