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
item
Type: Microsoft.VisualStudio.Data.DataConnectionDDEX data connection
Return Value
Type: System.Boolean
Returns true if the collection contains the specified data connection; otherwise returns 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.