語言

ItemCollection.Count 屬性

定義

取得收藏中的紀錄數量。

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

屬性值

集合中的項目數量;若集合未初始化或模式中沒有集合 ItemsSource ,則為 0。

實作

適用於