Ler em inglês

Partilhar via


KeyValuePair Classe

Definição

Cria instâncias do struct KeyValuePair<TKey,TValue>.

C#
public static class KeyValuePair
Herança
KeyValuePair

Métodos

Create<TKey,TValue>(TKey, TValue)

Cria uma instância de par chave/valor usando os valores fornecidos.

Aplica-se a

Produto Versões
.NET Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9
.NET Standard 2.1