Condividi tramite


CDBVariant::m_pstring

Stores a pointer to an object of type CString.

Remarks

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

Requirements

Header: afxdb.h

See Also

Reference

CDBVariant Class

Hierarchy Chart

CDBVariant::m_dwType

Other Resources

CDBVariant Members