This documentation is archived and is not being maintained.

ObjectQuery<T>.LongCount Method

Visual Studio 2008

Returns an Int64 that represents the number of elements in sequence.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public Extension Method LongCount() Returns an Int64 that represents the total number of elements in a sequence. (Defined by Queryable.)
Public Extension Method LongCount() Returns an Int64 that represents the total number of elements in a sequence. (Defined by Enumerable.)
Public Extension Method LongCount(Expression<Func<T, Boolean>>) Returns an Int64 that represents the number of elements in a sequence that satisfy a condition. (Defined by Queryable.)
Public Extension Method LongCount(Func<T, Boolean>) Returns an Int64 that represents how many elements in a sequence satisfy a condition. (Defined by Enumerable.)
Top
Show: