다음을 통해 공유


CListCtrl::GetItemCount

Retrieves the number of items in a list view control.

int GetItemCount( ) const;

Return Value

The number of items in the list view control.

Example

See the example for CListCtrl::DeleteItem.

Requirements

Header: afxcmn.h

See Also

Concepts

CListCtrl Class

CListCtrl Members

Hierarchy Chart

CListCtrl::SetItemCount

CListCtrl::GetSelectedCount