EntitySet<TEntity>.Count Property

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

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

Syntax

'Declaration
Public ReadOnly Property Count As Integer
public int Count { get; }

Property Value

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

Implements

ICollection.Count
ICollection<T>.Count

Version Information

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.