Compartir a través de


DataConnectionProperties.Contains Method

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

Return Value

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

Implements

ICollection<T>.Contains(T)

.NET Framework Security

See Also

Reference

DataConnectionProperties Class

Microsoft.VisualStudio.Data.Framework Namespace