KeyValuePair.Create(TKey, TValue) KeyValuePair.Create(TKey, TValue) KeyValuePair.Create(TKey, TValue) KeyValuePair.Create(TKey, TValue) Method

Definition

public:
generic <typename TKey, typename TValue>
 static System::Collections::Generic::KeyValuePair<TKey, TValue> Create(TKey key, TValue value);
public static System.Collections.Generic.KeyValuePair<TKey,TValue> Create<TKey,TValue> (TKey key, TValue value);
static member Create : 'Key * 'Value -> System.Collections.Generic.KeyValuePair<'Key, 'Value>
Public Shared Function Create(Of TKey, TValue) (key As TKey, value As TValue) As KeyValuePair(Of TKey, TValue)

Type Parameters

TKey
TValue

Parameters

key
value

Returns

Applies to