CList::GetCount

Gets the number of elements in this list.

INT_PTR GetCount() const;

Return Value

An integer value containing the element count.

Remarks

Calling this method will generate the same result as the CList::GetSize method.

Example

See the example for CList::RemoveHead.

Requirements

Header: afxtempl.h

See Also

Reference

CList Class

Hierarchy Chart

CList::IsEmpty

CList::GetSize

Other Resources

CList Members