IVsObjectList2.LocateNavInfoNode Method

Reserved for future use.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

Syntax

'宣言
Function LocateNavInfoNode ( _
    pNavInfoNode As IVsNavInfoNode, _
    <OutAttribute> ByRef pulIndex As UInteger _
) As Integer
'使用
Dim instance As IVsObjectList2
Dim pNavInfoNode As IVsNavInfoNode
Dim pulIndex As UInteger
Dim returnValue As Integer

returnValue = instance.LocateNavInfoNode(pNavInfoNode, _
    pulIndex)
int LocateNavInfoNode(
    IVsNavInfoNode pNavInfoNode,
    out uint pulIndex
)
int LocateNavInfoNode(
    [InAttribute] IVsNavInfoNode^ pNavInfoNode, 
    [OutAttribute] unsigned int% pulIndex
)
function LocateNavInfoNode(
    pNavInfoNode : IVsNavInfoNode, 
    pulIndex : uint
) : int

Parameters

  • pulIndex
    Type: System.UInt32%

    [out] Returns the index of the list item that corresponds to the specified navigation node.

Return Value

Type: System.Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell80.idl:

HRESULT IVsObjectList2::LocateNavInfoNode(
   [in] IVsNavInfoNode * pNavInfoNode, 
   [out] ULONG * pulIndex
);

Permissions

See Also

Reference

IVsObjectList2 Interface

IVsObjectList2 Members

Microsoft.VisualStudio.Shell.Interop Namespace