CDBVariant::Clear

void Clear( );

Remarks

Call this member function to clear the CDBVariant object. 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.

CDBVariant OverviewClass MembersHierarchy Chart

See Also   CDBVariant::m_dwType