ExpandoObject::IDictionary<String^, Object^>::ContainsKey Method (String^)

 

Determines whether the dictionary contains the specified key.

Namespace:   System.Dynamic
Assembly:  System.Core (in System.Core.dll)

private:
virtual bool ContainsKey(
	String^ key
) sealed = IDictionary<String^, Object^>::ContainsKey

Parameters

key
Type: System::String^

The key to locate in the dictionary.

Return Value

Type: System::Boolean

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

Universal Windows Platform
Available since 8
.NET Framework
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 4.0
Windows Phone Silverlight
Available since 8.0
Windows Phone
Available since 8.1
Return to top
Show: