StatusBar.StatusBarPanelCollection.Count 属性

定义

获取集合中的项数。Gets the number of items in the collection.

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

属性值

集合中 StatusBarPanel 对象的数目。The number of StatusBarPanel objects in the collection.

实现

属性

注解

此属性使您能够确定中StatusBar面板的数目。This property enables you to determine the number of panels in the StatusBar. 然后, 你可以在遍历集合的值时使用此值, 并且需要提供多个迭代来执行循环。You can then use this value when you are looping through the values of the collection and you need to provide a number of iterations to perform the loop.

适用于