HttpHeadersNonValidated.IReadOnlyDictionary<String,HeaderStringValues>.ContainsKey Methode

Definition

Bestimmt, ob das schreibgeschützte Wörterbuch ein Element mit dem angegebenen Schlüssel enthält.

 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

Parameter

key
String

Der zu suchende Schlüssel.

Gibt zurück

truewenn das schreibgeschützte Wörterbuch ein Element mit dem angegebenen Schlüssel enthält; andernfalls . false

Implementiert

Gilt für: