共用方式為


CDBVariant::m_lVal

Stores a value of type long.

Remarks

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

Requirements

Header: afxdb.h

See Also

Concepts

CDBVariant Class

CDBVariant Members

Hierarchy Chart

CDBVariant::m_dwType