Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

BatchBlock<T>::BatchSize Property

 

Gets the size of the batches generated by this BatchBlock<T>.

Namespace:   System.Threading.Tasks.Dataflow
Assembly:  System.Threading.Tasks.Dataflow (in System.Threading.Tasks.Dataflow.dll)

public:
property int BatchSize {
	int get();
}

Property Value

Type: System::Int32

The batch size.

If the number of items provided to the block is not evenly divisible by the batch size provided to the block's constructor, the block's final batch may contain fewer than the requested number of items.

Return to top
Show:
© 2017 Microsoft