Share via


HttpRequestOptions.IReadOnlyDictionary<String,Object>.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.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

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