HttpHeadersNonValidated.IReadOnlyDictionary<String,HeaderStringValues>.ContainsKey Метод

Определение

Определяет, содержит ли словарь только для чтения элемент, имеющий указанный ключ.

 virtual bool System.Collections.Generic.IReadOnlyDictionary<System.String,System.Net.Http.Headers.HeaderStringValues>.ContainsKey(System::String ^ key) = System::Collections::Generic::IReadOnlyDictionary<System::String ^, System::Net::Http::Headers::HeaderStringValues>::ContainsKey;
bool IReadOnlyDictionary<string,HeaderStringValues>.ContainsKey(string key);
abstract member System.Collections.Generic.IReadOnlyDictionary<System.String,System.Net.Http.Headers.HeaderStringValues>.ContainsKey : string -> bool
override this.System.Collections.Generic.IReadOnlyDictionary<System.String,System.Net.Http.Headers.HeaderStringValues>.ContainsKey : string -> bool
Function ContainsKey (key As String) As Boolean Implements IReadOnlyDictionary(Of String, HeaderStringValues).ContainsKey

Параметры

key
String

Ключ для поиска.

Возвращаемое значение

true Значение , если словарь только для чтения содержит элемент с указанным ключом; falseв противном случае .

Реализации

Применяется к