Share via


DataProviderManager.ICollection<DataProvider>.Contains Method

Tests whether a given collection contains a specified DDEX provider.

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

Syntax

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

Parameters

Return Value

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

Implements

ICollection<T>.Contains(T)

Remarks

Provides an implementation of the Contains method.

.NET Framework Security

See Also

Reference

DataProviderManager Class

Microsoft.VisualStudio.Data Namespace