共用方式為


CObList::IsEmpty

Indicates whether this list contains no elements.

BOOL IsEmpty( ) const;

Return Value

Nonzero if this list is empty; otherwise 0.

The following table shows other member functions that are similar to CObList::IsEmpty.

Class

Member Function

CPtrList

BOOL IsEmpty( ) const;

CStringList

BOOL IsEmpty( ) const;

Example

See the example for RemoveAll.

Requirements

Header: afxcoll.h

See Also

Reference

CObList Class

Hierarchy Chart

CObList::GetCount