Bagikan melalui


IVsSimpleObjectList2.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

'Declaration
Function LocateNavInfoNode ( _
    pNavInfoNode As IVsNavInfoNode, _
    <OutAttribute> ByRef pulIndex As UInteger _
) As Integer
int LocateNavInfoNode(
    IVsNavInfoNode pNavInfoNode,
    out uint pulIndex
)
int LocateNavInfoNode(
    [InAttribute] IVsNavInfoNode^ pNavInfoNode, 
    [OutAttribute] unsigned int% pulIndex
)
abstract LocateNavInfoNode : 
        pNavInfoNode:IVsNavInfoNode * 
        pulIndex:uint32 byref -> int 
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 IVsSimpleObjectList2::LocateNavInfoNode(
   [in]  IVsNavInfoNode *pNavInfoNode, 
   [out] ULONG          *pulIndex
);

.NET Framework Security

See Also

Reference

IVsSimpleObjectList2 Interface

Microsoft.VisualStudio.Shell.Interop Namespace