ImmutableSortedSet<T>.WithComparer(IComparer<T>) メソッド

定義

指定したキーの比較子を持つ、変更できない並べ替えられたセットを返します。

public:
 System::Collections::Immutable::ImmutableSortedSet<T> ^ WithComparer(System::Collections::Generic::IComparer<T> ^ comparer);
public System.Collections.Immutable.ImmutableSortedSet<T> WithComparer (System.Collections.Generic.IComparer<T> comparer);
public System.Collections.Immutable.ImmutableSortedSet<T> WithComparer (System.Collections.Generic.IComparer<T>? comparer);
member this.WithComparer : System.Collections.Generic.IComparer<'T> -> System.Collections.Immutable.ImmutableSortedSet<'T>
Public Function WithComparer (comparer As IComparer(Of T)) As ImmutableSortedSet(Of T)

パラメーター

comparer
IComparer<T>

確認する比較子。

戻り値

指定したキーの比較子を持つ、変更できない並べ替えられたセット。

注釈

System.Collections.Immutable NuGet パッケージ

変更できないコレクションとインストール方法について

適用対象