Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Tests whether a specified property and its values are present in the current set of connection properties.
Namespace:  Microsoft.VisualStudio.Data.Framework
Assembly:  Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)
Syntax
'Declaration
Public Function Contains ( _
    item As KeyValuePair(Of String, Object) _
) As Boolean
public bool Contains(
    KeyValuePair<string, Object> item
)
public:
virtual bool Contains(
    KeyValuePair<String^, Object^> item
) sealed
abstract Contains : 
        item:KeyValuePair<string, Object> -> bool 
override Contains : 
        item:KeyValuePair<string, Object> -> bool 
public final function Contains(
    item : KeyValuePair<String, Object>
) : boolean
Parameters
- item
 Type: System.Collections.Generic.KeyValuePair<String, Object>
 A key/value pair containing the key and value whose presence is being tested.
Return Value
Type: System.Boolean
true if the specified property and its value are found in the current 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.