DataSourceManager.ICollection<DataSource>.Contains Method
Tests whether the DDEX data source collection contains a specified data source.
Namespace: Microsoft.VisualStudio.Data
Assembly: Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)
Syntax
'Declaration
Private Function Contains ( _
item As DataSource _
) As Boolean Implements ICollection(Of DataSource).Contains
bool ICollection<DataSource>.Contains(
DataSource item
)
private:
virtual bool Contains(
DataSource^ item
) sealed = ICollection<DataSource^>::Contains
private abstract Contains :
item:DataSource -> bool
private override Contains :
item:DataSource -> bool
JScript does not support explicit interface implementations.
Parameters
item
Type: Microsoft.VisualStudio.Data.DataSourceDDEX data source
Return Value
Type: System.Boolean
Returns true if the collection contains the specified data source; otherwise returns false.
Implements
Remarks
Implements the Contains method.
.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.