共用方式為


CDBVariant::m_pstringA

Stores a pointer to an ASCII CString object.

Remarks

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

Requirements

Header: afxdb.h

See Also

Concepts

CDBVariant Class

CDBVariant Members

Hierarchy Chart

CDBVariant::m_dwType