Partitioner Class

.NET Framework 4.6 and 4.5

Provides common partitioning strategies for arrays, lists, and enumerables.

System.Object
  System.Collections.Concurrent.Partitioner

Namespace:  System.Collections.Concurrent
Assemblies:   System.Collections.Concurrent (in System.Collections.Concurrent.dll)
  mscorlib (in mscorlib.dll)

public static class Partitioner

  NameDescription
Public methodStatic memberSupported by Portable Class LibraryCreate(Int32, Int32)Creates a partitioner that chunks the user-specified range.
Public methodStatic memberSupported by Portable Class LibraryCreate(Int64, Int64)Creates a partitioner that chunks the user-specified range.
Public methodStatic memberSupported by Portable Class LibraryCreate(Int32, Int32, Int32)Creates a partitioner that chunks the user-specified range.
Public methodStatic memberSupported by Portable Class LibraryCreate(Int64, Int64, Int64)Creates a partitioner that chunks the user-specified range.
Public methodStatic memberSupported by Portable Class LibraryCreate<TSource>(IEnumerable<TSource>)Creates an orderable partitioner from a IEnumerable<T> instance.
Public methodStatic memberSupported by Portable Class LibraryCreate<TSource>(TSource[], Boolean)Creates an orderable partitioner from a Array instance.
Public methodStatic memberCreate<TSource>(IEnumerable<TSource>, EnumerablePartitionerOptions)Creates an orderable partitioner from a IEnumerable<T> instance.
Public methodStatic memberSupported by Portable Class LibraryCreate<TSource>(IList<TSource>, Boolean)Creates an orderable partitioner from an IList<T> instance.
Top

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4

Portable Class Library

Supported in: Portable Class Library

Supported in: Windows Phone 8.1

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft