共用方式為


IVsSimpleObjectList2.LocateNavInfoNode(IVsNavInfoNode, UInt32) Method

Definition

Reserved for future use.

public:
 int LocateNavInfoNode(Microsoft::VisualStudio::Shell::Interop::IVsNavInfoNode ^ pNavInfoNode, [Runtime::InteropServices::Out] System::UInt32 % pulIndex);
int LocateNavInfoNode(Microsoft::VisualStudio::Shell::Interop::IVsNavInfoNode const & pNavInfoNode, [Runtime::InteropServices::Out] unsigned int & pulIndex);
public int LocateNavInfoNode (Microsoft.VisualStudio.Shell.Interop.IVsNavInfoNode pNavInfoNode, out uint pulIndex);
abstract member LocateNavInfoNode : Microsoft.VisualStudio.Shell.Interop.IVsNavInfoNode * uint32 -> int
Public Function LocateNavInfoNode (pNavInfoNode As IVsNavInfoNode, ByRef pulIndex As UInteger) As Integer

Parameters

pNavInfoNode
IVsNavInfoNode

[in] An IVsNavInfoNode object representing the navigation information for a node.

pulIndex
UInt32

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

Returns

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  
);  

Applies to