共用方式為


FilteredObservableCollection<T>.Count Property

Definition

Gets the number of items in the collection.

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

Property Value

The number of items in the collection.

Implements

Remarks

If the collection is being filtered, this is the number of items in the filtered list, otherwise the number of items in the underlying list.

Applies to