AdoDotNetConnectionProperties.Contains Method
Tests whether a specified property name and value pair is a member of the current set of connection properties.
Namespace: Microsoft.VisualStudio.Data.Framework.AdoDotNet
Assembly: Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)
Syntax
'Declaration
Public Overridable Function Contains ( _
item As KeyValuePair(Of String, Object) _
) As Boolean
public virtual bool Contains(
KeyValuePair<string, Object> item
)
public:
virtual bool Contains(
KeyValuePair<String^, Object^> item
)
abstract Contains :
item:KeyValuePair<string, Object> -> bool
override Contains :
item:KeyValuePair<string, Object> -> bool
public function Contains(
item : KeyValuePair<String, Object>
) : boolean
Parameters
item
Type: System.Collections.Generic.KeyValuePair<String, Object>The property and value whose presence is being tested.
Return Value
Type: System.Boolean
true if the specified property is a member of the connection properties collection; otherwise false.
Implements
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.