ImmutableSortedDictionary.Create 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
Create<TKey,TValue>() |
Creates an empty immutable sorted dictionary. |
Create<TKey,TValue>(IComparer<TKey>) |
Creates an empty immutable sorted dictionary that uses the specified key comparer. |
Create<TKey,TValue>(IComparer<TKey>, IEqualityComparer<TValue>) |
Creates an empty immutable sorted dictionary that uses the specified key and value comparers. |
Create<TKey,TValue>()
- Source:
- ImmutableSortedDictionary.cs
- Source:
- ImmutableSortedDictionary.cs
- Source:
- ImmutableSortedDictionary.cs
Creates an empty immutable sorted dictionary.
public:
generic <typename TKey, typename TValue>
static System::Collections::Immutable::ImmutableSortedDictionary<TKey, TValue> ^ Create();
public static System.Collections.Immutable.ImmutableSortedDictionary<TKey,TValue> Create<TKey,TValue> ();
static member Create : unit -> System.Collections.Immutable.ImmutableSortedDictionary<'Key, 'Value>
Public Function Create(Of TKey, TValue) () As ImmutableSortedDictionary(Of TKey, TValue)
Type Parameters
- TKey
The type of keys stored by the dictionary.
- TValue
The type of values stored by the dictionary.
Returns
An empty immutable sorted dictionary.
Applies to
Create<TKey,TValue>(IComparer<TKey>)
- Source:
- ImmutableSortedDictionary.cs
- Source:
- ImmutableSortedDictionary.cs
- Source:
- ImmutableSortedDictionary.cs
Creates an empty immutable sorted dictionary that uses the specified key comparer.
public:
generic <typename TKey, typename TValue>
static System::Collections::Immutable::ImmutableSortedDictionary<TKey, TValue> ^ Create(System::Collections::Generic::IComparer<TKey> ^ keyComparer);
public static System.Collections.Immutable.ImmutableSortedDictionary<TKey,TValue> Create<TKey,TValue> (System.Collections.Generic.IComparer<TKey> keyComparer);
public static System.Collections.Immutable.ImmutableSortedDictionary<TKey,TValue> Create<TKey,TValue> (System.Collections.Generic.IComparer<TKey>? keyComparer);
static member Create : System.Collections.Generic.IComparer<'Key> -> System.Collections.Immutable.ImmutableSortedDictionary<'Key, 'Value>
Public Function Create(Of TKey, TValue) (keyComparer As IComparer(Of TKey)) As ImmutableSortedDictionary(Of TKey, TValue)
Type Parameters
- TKey
The type of keys stored by the dictionary.
- TValue
The type of values stored by the dictionary.
Parameters
- keyComparer
- IComparer<TKey>
The implementation to use to determine the equality of keys in the dictionary.
Returns
An empty immutable sorted dictionary.
Applies to
Create<TKey,TValue>(IComparer<TKey>, IEqualityComparer<TValue>)
- Source:
- ImmutableSortedDictionary.cs
- Source:
- ImmutableSortedDictionary.cs
- Source:
- ImmutableSortedDictionary.cs
Creates an empty immutable sorted dictionary that uses the specified key and value comparers.
public:
generic <typename TKey, typename TValue>
static System::Collections::Immutable::ImmutableSortedDictionary<TKey, TValue> ^ Create(System::Collections::Generic::IComparer<TKey> ^ keyComparer, System::Collections::Generic::IEqualityComparer<TValue> ^ valueComparer);
public static System.Collections.Immutable.ImmutableSortedDictionary<TKey,TValue> Create<TKey,TValue> (System.Collections.Generic.IComparer<TKey> keyComparer, System.Collections.Generic.IEqualityComparer<TValue> valueComparer);
public static System.Collections.Immutable.ImmutableSortedDictionary<TKey,TValue> Create<TKey,TValue> (System.Collections.Generic.IComparer<TKey>? keyComparer, System.Collections.Generic.IEqualityComparer<TValue>? valueComparer);
static member Create : System.Collections.Generic.IComparer<'Key> * System.Collections.Generic.IEqualityComparer<'Value> -> System.Collections.Immutable.ImmutableSortedDictionary<'Key, 'Value>
Public Function Create(Of TKey, TValue) (keyComparer As IComparer(Of TKey), valueComparer As IEqualityComparer(Of TValue)) As ImmutableSortedDictionary(Of TKey, TValue)
Type Parameters
- TKey
The type of keys stored by the dictionary.
- TValue
The type of values stored by the dictionary.
Parameters
- keyComparer
- IComparer<TKey>
The implementation to use to determine the equality of keys in the dictionary.
- valueComparer
- IEqualityComparer<TValue>
The implementation to use to determine the equality of values in the dictionary.
Returns
An empty immutable sorted dictionary.
Applies to
.NET
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示