共用方式為


IVsSimpleObjectList2.GetNavInfo(UInt32, IVsNavInfo) Method

Definition

Reserved for future use.

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

Parameters

index
UInt32

[in] The index of the item for which to get navigation information.

ppNavInfo
IVsNavInfo

[out] Returns an IVsNavInfo object that contains the requested information.

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::GetNavInfo(  
   [in]  ULONG        Index,   
   [out] IVsNavInfo **ppNavInfo  
);  

Applies to