Compartir a través de


IVsDataExplorerChildNodeCollection.Contains Method (IVsDataObject)

Indicates whether Server Explorer contains a connection node corresponding to the specified data object.

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

Syntax

'Declaration
Function Contains ( _
    obj As IVsDataObject _
) As Boolean
bool Contains(
    IVsDataObject obj
)
bool Contains(
    IVsDataObject^ obj
)
abstract Contains : 
        obj:IVsDataObject -> bool
function Contains(
    obj : IVsDataObject
) : boolean

Parameters

Return Value

Type: System.Boolean
true if Server Explorer contains the specified connection node; otherwise, false.

Exceptions

Exception Condition
ArgumentNullException

The obj parameter is nulla null reference (Nothing in Visual Basic).

.NET Framework Security

See Also

Reference

IVsDataExplorerChildNodeCollection Interface

Contains Overload

Microsoft.VisualStudio.Data.Services Namespace