OrderablePartitioner<TSource>.GetDynamicPartitions 메서드

정의

기본 컬렉션을 여러 파티션으로 분할할 수 있는 개체를 만듭니다.

public:
 override System::Collections::Generic::IEnumerable<TSource> ^ GetDynamicPartitions();
public override System.Collections.Generic.IEnumerable<TSource> GetDynamicPartitions ();
override this.GetDynamicPartitions : unit -> seq<'Source>
Public Overrides Function GetDynamicPartitions () As IEnumerable(Of TSource)

반환

IEnumerable<TSource>

내부 데이터 소스에 대한 파티션을 만들 수 있는 개체입니다.

예외

동적 분할은 기본 클래스에서 지원되지 않습니다. 파생된 클래스에서 구현되어야 합니다.

설명

반환된 개체는 인터페이스를 System.Collections.Generic.IEnumerable<T> 구현합니다. 개체에서 를 호출 GetEnumerator 하면 시퀀스를 통해 다른 파티션이 만들어집니다.

기본 구현은 반환된 파티션 집합이 요소에 대한 키를 제공하지 않는다는 점을 제외하고 동일한 동작 GetOrderableDynamicPartitions 을 제공합니다.

메서드는 GetDynamicPartitions 속성이 true를 반환하는 SupportsDynamicPartitions 경우에만 지원됩니다.

자세한 내용은 PLINQ 및 TPL에 대한 사용자 지정 파티셔너를 참조하세요.

적용 대상

추가 정보