IVsObjectList2.LocateNavInfoNode(IVsNavInfoNode, UInt32) 方法

定义

留待将来使用。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

参数

pNavInfoNode
IVsNavInfoNode

中一个 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.

返回

Int32

如果该方法成功,则它会返回 S_OKIf the method succeeds, it returns S_OK. 如果该方法失败,则会返回错误代码。If it fails, it returns an error code.

注解

COM 签名COM Signature

从 vsshell80:From vsshell80.idl:

[C++][C++]

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

适用于