Share via


EntitySet<TEntity>.Count property

Gets the total number of items in the EntitySet<TEntity>.

Namespace:  Microsoft.SharePoint.Linq
Assembly:  Microsoft.SharePoint.Linq (in Microsoft.SharePoint.Linq.dll)

Syntax

'Declaration
Public ReadOnly Property Count As Integer
    Get
'Usage
Dim instance As EntitySet
Dim value As Integer

value = instance.Count
public int Count { get; }

Property value

Type: System.Int32
A Int32 that represents the number of items in the collection.

Implements

ICollection<T>.Count
ICollection.Count

See also

Reference

EntitySet<TEntity> class

EntitySet<TEntity> members

Microsoft.SharePoint.Linq namespace