Share via


DataConnectionProperties.Contains(KeyValuePair<String,Object>) Method

Definition

Tests whether a specified property and its values are present in the current set of connection properties.

public:
 virtual bool Contains(System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^> item);
public 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 Function Contains (item As KeyValuePair(Of String, Object)) As Boolean

Parameters

item
KeyValuePair<String,Object>

A key/value pair containing the key and value whose presence is being tested.

Returns

true if the specified property and its value are found in the current connection properties collection; otherwise, false.

Implements

Applies to