ListView.CheckedIndexCollection.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 已核取的專案數目。 接著,當您迴圈集合的值,而且需要提供一些反復專案來執行迴圈時,就可以使用此值。

適用於