ReadOnlyCollectionBuilder(T) Constructor

ReadOnlyCollectionBuilder<T> Constructor

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

NameDescription
System_CAPS_pubmethodReadOnlyCollectionBuilder<T>()

Constructs a ReadOnlyCollectionBuilder.

System_CAPS_pubmethodReadOnlyCollectionBuilder<T>(IEnumerable<T>)

Constructs a ReadOnlyCollectionBuilder, copying contents of the given collection.

System_CAPS_pubmethodReadOnlyCollectionBuilder<T>(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.

Return to top
Show:
© 2016 Microsoft