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 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈