共用方式為


ListBox.IntegerCollection.Count 屬性

定義

取得 中選取 ListBox項目的數量。

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

屬性值

選取項目 ListBox的數量。

實作

屬性

備註

利用屬性 Count 來決定 中選取 ListBox.IntegerCollection項目的數量。 當你在循環項目時,可以使用這個值,並且需要提供多次迭代來執行這個循環。

適用於