Partager via


IVsCallBrowser.SetRootAtSymbol Method

Definition

Displays the contents of a library in the Call Browser.

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

Parameters

cbMode
Int32

[in] Browser mode to use. A value from the __VSCALLBROWSERMODE enumeration.

guidLib
Guid

[in] The GUID of the library to use.

rgSymbolNodes
SYMBOL_DESCRIPTION_NODE[]

[in] An array of SYMBOL_DESCRIPTION_NODE structures containing the nodes to use in the browser.

ulcNodes
UInt32

[in] Number of nodes returned—the length of 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 IVsCallBrowser::SetRootAtSymbol(  
   [in] CALLBROWSERMODE cbMode,   
   [in] REFGUID guidLib,   
   [in, size_is(ulcNodes)] SYMBOL_DESCRIPTION_NODE rgSymbolNodes[],   
   [in] ULONG ulcNodes  
);  

Applies to