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

Definition

Определяет, есть ли указанный ключ в словаре.Determines whether the dictionary contains the specified key.

 virtual bool System.Collections.Generic.IDictionary<string,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<string,object>.ContainsKey : string -> bool
override this.System.Collections.Generic.IDictionary<string,object>.ContainsKey : string -> bool
Function ContainsKey (key As String) As Boolean Implements IDictionary(Of String, Object).ContainsKey

Parameters

key
String

Ключ, который нужно найти в словаре.The key to locate in the dictionary.

Returns

Boolean

Значение true, если словарь содержит элемент с указанным ключом; в противном случае — значение false.true if the dictionary contains an element that has the specified key; otherwise, false.

Implements

Applies to