다음을 통해 공유


IVsSelectedSymbol.GetNavInfo(IVsNavInfo) Method

Definition

Gets an object that can be used to identify a symbol in the hierarchical tree of symbols.

public:
 int GetNavInfo([Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsNavInfo ^ % ppNavInfo);
public:
 int GetNavInfo([Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsNavInfo ^ &  ppNavInfo);
int GetNavInfo([Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsNavInfo const & & ppNavInfo);
public int GetNavInfo (out Microsoft.VisualStudio.Shell.Interop.IVsNavInfo ppNavInfo);
abstract member GetNavInfo : IVsNavInfo -> int
Public Function GetNavInfo (ByRef ppNavInfo As IVsNavInfo) As Integer

Parameters

ppNavInfo
IVsNavInfo

[out] The object used to identify a symbol.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell80.idl:

HRESULT IVsSelectedSymbol::GetNavInfo(  
   [out] IVsNavInfo **ppNavInfo  
);  

Applies to