ExpandoObject.IDictionary<String,Object>.ContainsKey(String) Metoda

Definicja

Określa, czy słownik zawiera określony klucz.

 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

Parametry

key
String

Klucz do zlokalizowania w słowniku.

Zwraca

true jeśli słownik zawiera element, który ma określony klucz; w przeciwnym razie , false.

Implementuje

Dotyczy