Partager via


DataSourceCollection.Contains Method

Namespace:  Microsoft.Internal.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

'Déclaration
Public Function Contains ( _
    item As IDataSource _
) As Boolean
'Utilisation
Dim instance As DataSourceCollection
Dim item As IDataSource
Dim returnValue As Boolean

returnValue = instance.Contains(item)
public bool Contains(
    IDataSource item
)
public:
virtual bool Contains(
    IDataSource^ item
) sealed
abstract Contains : 
        item:IDataSource -> bool 
override Contains : 
        item:IDataSource -> bool 
public final function Contains(
    item : IDataSource
) : boolean

Parameters

Return Value

Type: System.Boolean

Implements

ICollection<T>.Contains(T)

.NET Framework Security

See Also

Reference

DataSourceCollection Class

DataSourceCollection Members

Microsoft.Internal.VisualStudio.PlatformUI Namespace