共用方式為


CDBVariant::m_pstringW

Stores a pointer to a wide CString object.

Remarks

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

Requirements

Header: afxdb.h

See Also

Concepts

CDBVariant Class

CDBVariant Members

Hierarchy Chart

CDBVariant::m_dwType