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

Definition

Avgör om ordlistan innehåller den angivna nyckeln.

 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

Parametrar

key
String

Nyckeln som ska hittas i ordlistan.

Returer

trueom ordlistan innehåller ett element som har den angivna nyckeln; annars . false

Implementeringar

Gäller för