Condividi tramite


AdoDotNetConnectionProperties.Contains Method

Definition

Tests whether a specified property name and value pair is a member of the current set of connection properties.

public:
 virtual bool Contains(System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^> item);
public virtual bool Contains (System.Collections.Generic.KeyValuePair<string,object> item);
abstract member Contains : System.Collections.Generic.KeyValuePair<string, obj> -> bool
override this.Contains : System.Collections.Generic.KeyValuePair<string, obj> -> bool
Public Overridable Function Contains (item As KeyValuePair(Of String, Object)) As Boolean

Parameters

item
KeyValuePair<String,Object>

The property and value whose presence is being tested.

Returns

true if the specified property is a member of the connection properties collection; otherwise false.

Implements

Applies to