CString::FreeExtra

void FreeExtra( );

Remarks

Call this member function to free any extra memory previously allocated by the string but no longer needed. This should reduce the memory overhead consumed by the string object. The function reallocates the buffer to the exact length returned by GetLength.

CString OverviewClass MembersHierarchy Chart