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