LinkLabel.LinkCollection.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

屬性值

集合中的連結數。

實作

屬性

備註

這個屬性可讓您判斷 控制項中的 LinkLabel 連結數目。 接著,當您迴圈集合的值,而且需要提供一些反復專案來執行迴圈時,就可以使用此值。

適用於