共用方式為


AdoDotNetConnectionProperties.IDictionary.Contains(Object) Method

Definition

Determines whether the current IDictionary instance contains an element with the specified key.

 virtual bool System.Collections.IDictionary.Contains(System::Object ^ key) = System::Collections::IDictionary::Contains;
bool IDictionary.Contains (object key);
override this.System.Collections.IDictionary.Contains : obj -> bool
Function Contains (key As Object) As Boolean Implements IDictionary.Contains

Parameters

key
Object

The key on which to locate an element.

Returns

Returns true if the IDictionary instance contains an element with the specified key; otherwise returns false.

Implements

Applies to