ReadOnlyCollectionBuilder<T> Constructor (Int32)

Constructs a ReadOnlyCollectionBuilder with a given initial capacity. The contents are empty but builder will have reserved room for the given number of elements before any reallocations are required.

Namespace:  System.Runtime.CompilerServices
Assembly:  System.Core (in System.Core.dll)

public ReadOnlyCollectionBuilder(
	int capacity
)

Parameters

capacity
Type: System.Int32
Initial capacity.

Silverlight

Supported in: 5, 4

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show: