Partager via


DataConnectionManager.ICollection<DataConnection>.Contains Method

Tests whether the DDEX data connection collection contains a specified connection.

Namespace:  Microsoft.VisualStudio.Data
Assembly:  Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)

Syntax

'Declaration
Private Function Contains ( _
    item As DataConnection _
) As Boolean Implements ICollection(Of DataConnection).Contains
bool ICollection<DataConnection>.Contains(
    DataConnection item
)
private:
virtual bool Contains(
    DataConnection^ item
) sealed = ICollection<DataConnection^>::Contains
private abstract Contains : 
        item:DataConnection -> bool  
private override Contains : 
        item:DataConnection -> bool
JScript does not support explicit interface implementations.

Parameters

Return Value

Type: System.Boolean
Returns true if the collection contains the specified data connection; otherwise returns false.

Implements

ICollection<T>.Contains(T)

.NET Framework Security

See Also

Reference

DataConnectionManager Class

Microsoft.VisualStudio.Data Namespace