語言

DataListItemCollection.Count 屬性

定義

取得集合中的物件數量 DataListItem 。

public:
 property int Count { int get(); };
public int Count { get; }
member this.Count : int
Public ReadOnly Property Count As Integer

屬性值

收藏中的物件數量 DataListItem 。

實作

備註

利用該Count屬性來決定集合中的DataListItem物件數量DataListItemCollection。 此 Count 性質常用於遍歷集合以確定集合的上界。

適用於

另請參閱