語言

ListView.CheckedListViewItemCollection.Count 屬性

定義

取得集合中的項目數目。

public:
 property int Count { int get(); };
[System.ComponentModel.Browsable(false)]
public int Count { get; }
[<System.ComponentModel.Browsable(false)>]
member this.Count : int
Public ReadOnly Property Count As Integer

屬性值

收藏品數量。

實作

屬性

備註

此特性能讓您判斷控制中已 ListView 檢查項目的數量。 你可以用這個值來迴圈集合的值,並且需要提供多次迭代來執行迴圈。

適用於