HttpHeadersNonValidated.IReadOnlyDictionary<String,HeaderStringValues>.ContainsKey Method

Definition

Determines whether the read-only dictionary contains an element that has the specified key.

C#
bool IReadOnlyDictionary<string,HeaderStringValues>.ContainsKey(string key);

Parameters

key
String

The key to locate.

Returns

true if the read-only dictionary contains an element that has the specified key; otherwise, false.

Implements

Applies to

Продукт Версии
.NET 6, 7, 8, 9, 10