共用方式為


CDBVariant::m_iVal

Stores a value of type short.

Remarks

The m_iVal data member belongs to a union. Before accessing m_iVal, first check the value of CDBVariant::m_dwType. If m_dwType is set to DBVT_SHORT, then m_iVal contains a valid value; otherwise, accessing m_iVal will produce unreliable results.

Requirements

Header: afxdb.h

See Also

Concepts

CDBVariant Class

CDBVariant Members

Hierarchy Chart

CDBVariant::m_dwType