ParallelEnumerable.LongCount 메서드

정의

병렬 시퀀스의 총 요소 수를 나타내는 Int64를 반환합니다.

오버로드

Name Description
LongCount<TSource>(ParallelQuery<TSource>)

병렬 시퀀스의 총 요소 수를 나타내는 Int64를 반환합니다.

LongCount<TSource>(ParallelQuery<TSource>, Func<TSource,Boolean>)

조건을 충족하는 병렬 시퀀스의 요소 수를 나타내는 Int64를 반환합니다.

LongCount<TSource>(ParallelQuery<TSource>)

Source:
ParallelEnumerable.cs
Source:
ParallelEnumerable.cs
Source:
ParallelEnumerable.cs
Source:
ParallelEnumerable.cs
Source:
ParallelEnumerable.cs

병렬 시퀀스의 총 요소 수를 나타내는 Int64를 반환합니다.

public:
generic <typename TSource>
[System::Runtime::CompilerServices::Extension]
 static long LongCount(System::Linq::ParallelQuery<TSource> ^ source);
public static long LongCount<TSource>(this System.Linq.ParallelQuery<TSource> source);
static member LongCount : System.Linq.ParallelQuery<'Source> -> int64
<Extension()>
Public Function LongCount(Of TSource) (source As ParallelQuery(Of TSource)) As Long

형식 매개 변수

TSource

의 요소 형식입니다 source.

매개 변수

source
ParallelQuery<TSource>

계산할 요소가 들어 있는 시퀀스입니다.

반품

입력 시퀀스의 요소 수입니다.

예외

source null 참조(Visual Basic 없음)입니다.

원본의 요소 수가 Int32.MaxValue보다 큰 경우 -또는- 쿼리를 평가하는 동안 하나 이상의 예외가 발생했습니다.

추가 정보

적용 대상

LongCount<TSource>(ParallelQuery<TSource>, Func<TSource,Boolean>)

Source:
ParallelEnumerable.cs
Source:
ParallelEnumerable.cs
Source:
ParallelEnumerable.cs
Source:
ParallelEnumerable.cs
Source:
ParallelEnumerable.cs

조건을 충족하는 병렬 시퀀스의 요소 수를 나타내는 Int64를 반환합니다.

public:
generic <typename TSource>
[System::Runtime::CompilerServices::Extension]
 static long LongCount(System::Linq::ParallelQuery<TSource> ^ source, Func<TSource, bool> ^ predicate);
public static long LongCount<TSource>(this System.Linq.ParallelQuery<TSource> source, Func<TSource,bool> predicate);
static member LongCount : System.Linq.ParallelQuery<'Source> * Func<'Source, bool> -> int64
<Extension()>
Public Function LongCount(Of TSource) (source As ParallelQuery(Of TSource), predicate As Func(Of TSource, Boolean)) As Long

형식 매개 변수

TSource

의 요소 형식입니다 source.

매개 변수

source
ParallelQuery<TSource>

계산할 요소가 들어 있는 시퀀스입니다.

predicate
Func<TSource,Boolean>

조건에 대한 각 요소를 테스트하는 함수입니다.

반품

조건자 함수의 조건을 충족하는 시퀀스의 요소 수를 나타내는 숫자입니다.

예외

source 또는 predicate null 참조(Visual Basic 없음)입니다.

원본의 요소 수가 Int32.MaxValue보다 큰 경우 -또는- 쿼리를 평가하는 동안 하나 이상의 예외가 발생했습니다.

추가 정보

적용 대상