Partager via


IVsDataExplorerChildNodeCollection.IndexOf Method (Int32)

Retrieves the index of the 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 IndexOf ( _
    itemId As Integer _
) As Integer
int IndexOf(
    int itemId
)
int IndexOf(
    int itemId
)
abstract IndexOf : 
        itemId:int -> int
function IndexOf(
    itemId : int
) : int

Parameters

  • itemId
    Type: System.Int32

    An integer value representing the ID of the data object.

Return Value

Type: System.Int32
The index of the connection node in Server Explorer, if found; otherwise, -1.

.NET Framework Security

See Also

Reference

IVsDataExplorerChildNodeCollection Interface

IndexOf Overload

Microsoft.VisualStudio.Data.Services Namespace