HttpRequestOptions.IDictionary<String,Object>.ContainsKey Methode

Definition

Ermittelt, ob das IDictionary<TKey,TValue> ein Element mit dem angegebenen Schlüssel enthält.

 virtual bool System.Collections.Generic.IDictionary<System.String,System.Object>.ContainsKey(System::String ^ key) = System::Collections::Generic::IDictionary<System::String ^, System::Object ^>::ContainsKey;
bool IDictionary<string,object>.ContainsKey (string key);
abstract member System.Collections.Generic.IDictionary<System.String,System.Object>.ContainsKey : string -> bool
override this.System.Collections.Generic.IDictionary<System.String,System.Object>.ContainsKey : string -> bool
Function ContainsKey (key As String) As Boolean Implements IDictionary(Of String, Object).ContainsKey

Parameter

key
String

Der im IDictionary<TKey,TValue> zu suchende Schlüssel.

Gibt zurück

true, wenn das IDictionary<TKey,TValue> ein Element mit dem Schlüssel enthält, andernfalls false.

Implementiert

Hinweise

Bei diesem Member handelt es sich um eine explizite Schnittstellenmemberimplementierung. Er kann nur verwendet werden, wenn die HttpRequestOptions-Instanz in eine IDictionary<TKey,TValue>-Schnittstelle umgewandelt wird.

Gilt für: