Compartilhar via


IVsNavigationTool.NavigateToSymbol Method

Definition

Tells the class or object browser to navigate to items in a library.

public:
 int NavigateToSymbol(Guid % guidLib, cli::array <Microsoft::VisualStudio::Shell::Interop::SYMBOL_DESCRIPTION_NODE> ^ rgSymbolNodes, System::UInt32 ulcNodes);
public int NavigateToSymbol (ref Guid guidLib, Microsoft.VisualStudio.Shell.Interop.SYMBOL_DESCRIPTION_NODE[] rgSymbolNodes, uint ulcNodes);
abstract member NavigateToSymbol : Guid * Microsoft.VisualStudio.Shell.Interop.SYMBOL_DESCRIPTION_NODE[] * uint32 -> int
Public Function NavigateToSymbol (ByRef guidLib As Guid, rgSymbolNodes As SYMBOL_DESCRIPTION_NODE(), ulcNodes As UInteger) As Integer

Parameters

guidLib
Guid

[in] The GUID of the library containing the symbol.

rgSymbolNodes
SYMBOL_DESCRIPTION_NODE[]

[in] An array of SYMBOL_DESCRIPTION_NODE structures describing the symbols.

ulcNodes
UInt32

[in] Number of elements in rgSymbolNodes.

Returns

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

Remarks

COM Signature

From vsshell80.idl:

HRESULT IVsNavigationTool::NavigateToSymbol(  
   [in] REFGUID guidLib,   
   [in, size_is(ulcNodes)] SYMBOL_DESCRIPTION_NODE rgSymbolNodes[],   
   [in] ULONG ulcNodes  
);  

Applies to