Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

CString::Empty

Visual Studio 6.0

CString::Empty

void Empty( );

Remarks

Makes this CString object an empty string and frees memory as appropriate.

For more information, see n Visual C++ Programmer’s Guide

Example

The following example demonstrates the use of CString::Empty.

// example for CString::Empty
CString s( "abc" );
s.Empty();
ASSERT( s.GetLength( ) == 0 );

CString OverviewClass MembersHierarchy Chart

See Also   CString::IsEmpty

Show:
© 2015 Microsoft