IVsSimpleObjectList2.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 .idl:From vsshell80.idl:

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

適用於