Aracılığıyla paylaş


HttpRequestOptions.IDictionary<String,Object>.ContainsKey Yöntem

Tanım

öğesinin IDictionary<TKey,TValue> belirtilen anahtara sahip bir öğe içerip içermediğini belirler.

 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

Parametreler

key
String

içinde IDictionary<TKey,TValue>bulunacak anahtar.

Döndürülenler

true anahtarıyla IDictionary<TKey,TValue> bir öğe içeriyorsa; değilse, false.

Uygulamalar

Açıklamalar

Bu üye, açık bir arabirim üyesi uygulamasıdır. Yalnızca örnek bir IDictionary<TKey,TValue> arabirime HttpRequestOptions yayınlandığında kullanılabilir.

Şunlara uygulanır