Partager via


IVsDataExplorerChildNodeCollection.Contains Method (Int32)

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

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

Syntax

'Declaration
Function Contains ( _
    itemId As Integer _
) As Boolean
bool Contains(
    int itemId
)
bool Contains(
    int itemId
)
abstract Contains : 
        itemId:int -> bool
function Contains(
    itemId : int
) : boolean

Parameters

  • itemId
    Type: System.Int32

    An integer value representing the ID of the data object.

Return Value

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

.NET Framework Security

See Also

Reference

IVsDataExplorerChildNodeCollection Interface

Contains Overload

Microsoft.VisualStudio.Data.Services Namespace