Redigera

Dela via


HttpRequestOptions.IReadOnlyDictionary<String,Object>.ContainsKey Method

Definition

Determines whether the read-only dictionary contains an element that has the specified key.

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

Parameters

key
String

The key to locate.

Returns

true if the read-only dictionary contains an element that has the specified key; otherwise, false.

Implements

Applies to