Share via


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

Return Value

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

Implements

ICollection<T>.Contains(T)

.NET Framework Security

See Also

Reference

AdoDotNetConnectionProperties Class

Microsoft.VisualStudio.Data.Framework.AdoDotNet Namespace