Share via


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

Reference

CDBVariant Class

Hierarchy Chart

CDBVariant::m_dwType

Other Resources

CDBVariant Members