Share via


HttpHeadersNonValidated.IReadOnlyDictionary<String,HeaderStringValues>.ContainsKey Yöntem

Tanım

Salt okunur sözlüğün belirtilen anahtara sahip bir öğe içerip içermediğini belirler.

 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

Parametreler

key
String

Bulunacak anahtar.

Döndürülenler

true salt okunur sözlük belirtilen anahtara sahip bir öğe içeriyorsa; aksi takdirde , false.

Uygulamalar

Şunlara uygulanır