ListView.CheckedListViewItemCollection.Count 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得集合中的項目數目。
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 檢查項目的數量。 你可以用這個值來迴圈集合的值,並且需要提供多次迭代來執行迴圈。