ParallelEnumerable.Count<'TSource> Method (ParallelQuery<'TSource>, Func<'TSource, Boolean>)
Returns a number that represents how many elements in the specified parallel sequence satisfy a condition.
Assembly: System.Core (in System.Core.dll)
static member Count<'TSource> : source:ParallelQuery<'TSource> * predicate:Func<'TSource, bool> -> int
A sequence that contains elements to be counted.
Return ValueType: System.Int32
A number that represents how many elements in the sequence satisfy the condition in the predicate function.
The type of the elements of source.
The query was canceled with the token passed in through WithCancellation.
source or predicate is a null reference (Nothing in Visual Basic).
Available since 8
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Available since 8.1