ListView.ColumnHeaderCollection.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
屬性值
收藏品數量。
實作
- 屬性
備註
這個屬性讓你能判斷當屬性View設為 Details時,顯示的ListView欄位數量。 當你在循環集合的值時,可以使用這個值,並且需要提供多次迭代來執行迴圈。