共用方式為


CDBVariant::m_chVal

Stores a value of type unsigned char.

Remarks

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

Requirements

Header: afxdb.h

See Also

Concepts

CDBVariant Class

CDBVariant Members

Hierarchy Chart

CDBVariant::m_dwType