ImmutableSortedSet.CreateBuilder Method
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
CreateBuilder<T>() |
Returns a collection that can be used to build an immutable sorted set. |
CreateBuilder<T>(IComparer<T>) |
Returns a collection that can be used to build an immutable sorted set. |
CreateBuilder<T>()
- Source:
- ImmutableSortedSet.cs
- Source:
- ImmutableSortedSet.cs
- Source:
- ImmutableSortedSet.cs
Returns a collection that can be used to build an immutable sorted set.
public:
generic <typename T>
static System::Collections::Immutable::ImmutableSortedSet<T>::Builder ^ CreateBuilder();
public static System.Collections.Immutable.ImmutableSortedSet<T>.Builder CreateBuilder<T> ();
static member CreateBuilder : unit -> System.Collections.Immutable.ImmutableSortedSet<'T>.Builder
Public Function CreateBuilder(Of T) () As ImmutableSortedSet(Of T).Builder
Type Parameters
- T
The type of items stored by the collection.
Returns
The immutable collection builder.
Applies to
CreateBuilder<T>(IComparer<T>)
- Source:
- ImmutableSortedSet.cs
- Source:
- ImmutableSortedSet.cs
- Source:
- ImmutableSortedSet.cs
Returns a collection that can be used to build an immutable sorted set.
public:
generic <typename T>
static System::Collections::Immutable::ImmutableSortedSet<T>::Builder ^ CreateBuilder(System::Collections::Generic::IComparer<T> ^ comparer);
public static System.Collections.Immutable.ImmutableSortedSet<T>.Builder CreateBuilder<T> (System.Collections.Generic.IComparer<T> comparer);
public static System.Collections.Immutable.ImmutableSortedSet<T>.Builder CreateBuilder<T> (System.Collections.Generic.IComparer<T>? comparer);
static member CreateBuilder : System.Collections.Generic.IComparer<'T> -> System.Collections.Immutable.ImmutableSortedSet<'T>.Builder
Public Function CreateBuilder(Of T) (comparer As IComparer(Of T)) As ImmutableSortedSet(Of T).Builder
Type Parameters
- T
The type of items stored by the collection.
Parameters
- comparer
- IComparer<T>
The comparer used to compare items in the set for equality.
Returns
The immutable collection.
Applies to
Зворотний зв’язок
https://aka.ms/ContentUserFeedback.
Очікується незабаром: протягом 2024 року ми будемо припиняти використання механізму реєстрації проблем у GitHub для зворотного зв’язку щодо вмісту й замінювати його новою системою зворотного зв’язку. Докладніше:Надіслати й переглянути відгук про