Bewerken

Delen via


HttpRequestOptions.IDictionary<String,Object>.ContainsKey Method

Definition

Determines whether the IDictionary<TKey,TValue> contains an element with the specified key.

 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

Parameters

key
String

The key to locate in the IDictionary<TKey,TValue>.

Returns

true if the IDictionary<TKey,TValue> contains an element with the key; otherwise, false.

Implements

Remarks

This member is an explicit interface member implementation. It can be used only when the HttpRequestOptions instance is cast to an IDictionary<TKey,TValue> interface.

Applies to