CString::IsEmpty

This method determines whether a CString object is empty.

BOOL IsEmpty( )
const; 

Return Value

Nonzero if the CString object has 0 length; otherwise, it is zero.

Example

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

// example for CString::IsEmpty
CString s;
ASSERT( s.IsEmpty() );

Requirements

  Windows CE versions: 1.0 and later
  Header file: Declared in Afx.h
  Platform: H/PC Pro, Palm-size PC, Pocket PC

See Also

CString::GetLength