ReadOnlyCollectionBuilder<T> Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ReadOnlyCollectionBuilder<T>() |
Constructs a ReadOnlyCollectionBuilder<T>. |
ReadOnlyCollectionBuilder<T>(IEnumerable<T>) |
Constructs a ReadOnlyCollectionBuilder<T>, copying the contents of the given collection. |
ReadOnlyCollectionBuilder<T>(Int32) |
Constructs a ReadOnlyCollectionBuilder<T> 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. |
ReadOnlyCollectionBuilder<T>()
- Source:
- ReadOnlyCollectionBuilder.cs
- Source:
- ReadOnlyCollectionBuilder.cs
- Source:
- ReadOnlyCollectionBuilder.cs
Constructs a ReadOnlyCollectionBuilder<T>.
public:
ReadOnlyCollectionBuilder();
public ReadOnlyCollectionBuilder ();
Public Sub New ()
Applies to
ReadOnlyCollectionBuilder<T>(IEnumerable<T>)
- Source:
- ReadOnlyCollectionBuilder.cs
- Source:
- ReadOnlyCollectionBuilder.cs
- Source:
- ReadOnlyCollectionBuilder.cs
Constructs a ReadOnlyCollectionBuilder<T>, copying the contents of the given collection.
public:
ReadOnlyCollectionBuilder(System::Collections::Generic::IEnumerable<T> ^ collection);
public ReadOnlyCollectionBuilder (System.Collections.Generic.IEnumerable<T> collection);
new System.Runtime.CompilerServices.ReadOnlyCollectionBuilder<'T> : seq<'T> -> System.Runtime.CompilerServices.ReadOnlyCollectionBuilder<'T>
Public Sub New (collection As IEnumerable(Of T))
Parameters
- collection
- IEnumerable<T>
Collection to copy elements from.
Applies to
ReadOnlyCollectionBuilder<T>(Int32)
- Source:
- ReadOnlyCollectionBuilder.cs
- Source:
- ReadOnlyCollectionBuilder.cs
- Source:
- ReadOnlyCollectionBuilder.cs
Constructs a ReadOnlyCollectionBuilder<T> 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.
public:
ReadOnlyCollectionBuilder(int capacity);
public ReadOnlyCollectionBuilder (int capacity);
new System.Runtime.CompilerServices.ReadOnlyCollectionBuilder<'T> : int -> System.Runtime.CompilerServices.ReadOnlyCollectionBuilder<'T>
Public Sub New (capacity As Integer)
Parameters
- capacity
- Int32
Initial capacity.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
În curând: Pe parcursul anului 2024, vom elimina treptat Probleme legate de GitHub ca mecanism de feedback pentru conținut și îl vom înlocui cu un nou sistem de feedback. Pentru mai multe informații, consultați:Trimiteți și vizualizați feedback pentru