Gets the number of records in the view.
Public Overridable ReadOnly Property Count As Integer Get
public virtual int Count { get; }
public: virtual property int Count { int get (); }
abstract Count : int override Count : int
If a filter is set, this property value only includes items that pass the filter. If the underlying collection is of type IEnumerable, this is an O(N) operation. This value is cached until the collection changes.
When deriving from CollectionView, override this property to provide a more efficient implementation.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2