Upraviť

Zdieľať cez


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

Definition

Determines whether the dictionary contains the specified key.

 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

Parameters

key
String

The key to locate in the dictionary.

Returns

true if the dictionary contains an element that has the specified key; otherwise, false.

Implements

Applies to