DbConnectionStringBuilder::IDictionary::Contains Method (Object^)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Determines whether the IDictionary object contains an element with the specified key.

Namespace:   System.Data.Common
Assembly:  System.Data (in System.Data.dll)

virtual bool Contains(
	Object^ keyword
) sealed = IDictionary::Contains


Type: System::Object^

The key to locate in the IDictionary object.

Return Value

Type: System::Boolean

true if the IDictionary contains an element with the key; otherwise, false.

This member is an explicit interface member implementation. It can be used only when the DbConnectionStringBuilder instance is cast to an IDictionary interface.

For more information, see Contains.

Universal Windows Platform
Available since 10
.NET Framework
Available since 2.0
Return to top