ExpandoObject.IDictionary<String,Object>.ContainsKey(String) Метод

Определение

Определяет, есть ли указанный ключ в словаре.

 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

Параметры

key
String

Ключ, который нужно найти в словаре.

Возвращаемое значение

Значение true, если словарь содержит элемент с указанным ключом; в противном случае — значение false.

Реализации

Применяется к