Count Property

EntitySet<TEntity>.Count Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets the number of entities in the EntitySet<TEntity> collection.

Namespace:  System.Data.Linq
Assembly:  System.Data.Linq (in System.Data.Linq.dll)

public int Count { get; }

Property Value

Type: System.Int32
An integer representing the number of entities.

Implements

ICollection.Count
ICollection<T>.Count

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft