Edit

Share via


FrozenDictionary.Create Method

Definition

Overloads

Create<TKey,TValue>(ReadOnlySpan<KeyValuePair<TKey,TValue>>)

Source:
FrozenDictionary.cs
Source:
FrozenDictionary.cs
public:
generic <typename TKey, typename TValue>
 static System::Collections::Frozen::FrozenDictionary<TKey, TValue> ^ Create(ReadOnlySpan<System::Collections::Generic::KeyValuePair<TKey, TValue>> source);
public static System.Collections.Frozen.FrozenDictionary<TKey,TValue> Create<TKey,TValue>(scoped ReadOnlySpan<System.Collections.Generic.KeyValuePair<TKey,TValue>> source);
static member Create : ReadOnlySpan<System.Collections.Generic.KeyValuePair<'Key, 'Value>> -> System.Collections.Frozen.FrozenDictionary<'Key, 'Value>
Public Function Create(Of TKey, TValue) (source As ReadOnlySpan(Of KeyValuePair(Of TKey, TValue))) As FrozenDictionary(Of TKey, TValue)

Type Parameters

TKey
TValue

Parameters

source
ReadOnlySpan<KeyValuePair<TKey,TValue>>

Returns

Applies to

Create<TKey,TValue>(IEqualityComparer<TKey>, ReadOnlySpan<KeyValuePair<TKey,TValue>>)

Source:
FrozenDictionary.cs
Source:
FrozenDictionary.cs
public:
generic <typename TKey, typename TValue>
 static System::Collections::Frozen::FrozenDictionary<TKey, TValue> ^ Create(System::Collections::Generic::IEqualityComparer<TKey> ^ comparer, ReadOnlySpan<System::Collections::Generic::KeyValuePair<TKey, TValue>> source);
public static System.Collections.Frozen.FrozenDictionary<TKey,TValue> Create<TKey,TValue>(System.Collections.Generic.IEqualityComparer<TKey>? comparer, scoped ReadOnlySpan<System.Collections.Generic.KeyValuePair<TKey,TValue>> source);
static member Create : System.Collections.Generic.IEqualityComparer<'Key> * ReadOnlySpan<System.Collections.Generic.KeyValuePair<'Key, 'Value>> -> System.Collections.Frozen.FrozenDictionary<'Key, 'Value>
Public Function Create(Of TKey, TValue) (comparer As IEqualityComparer(Of TKey), source As ReadOnlySpan(Of KeyValuePair(Of TKey, TValue))) As FrozenDictionary(Of TKey, TValue)

Type Parameters

TKey
TValue

Parameters

comparer
IEqualityComparer<TKey>
source
ReadOnlySpan<KeyValuePair<TKey,TValue>>

Returns

Applies to