CDBVariant::Clear

Call this member function to clear the CDBVariant object.

void Clear( );

Remarks

If the value of the m_dwType data member is DBVT_DATE, DBVT_STRING, or DBVT_BINARY, Clear frees the memory associated with the union pointer member. Clear sets m_dwType to DBVT_NULL.

The CDBVariant destructor calls Clear.

Requirements

Header: afxdb.h

See Also

Reference

CDBVariant Class

Hierarchy Chart

CDBVariant::m_dwType

Other Resources

CDBVariant Members