int GetCount( ) const;
Return Value
An integer value containing the element count.
Remarks
Gets the number of elements in this list.
Example
CObList list;
list.AddHead( new CAge( 21 ) );
list.AddHead( new CAge( 40 ) ); // List now contains (40, 21).
ASSERT( list.GetCount() == 2 );
CObList Overview | Class Members | Hierarchy Chart
See Also CObList::IsEmpty