IVsCallBrowser.SetRootAtSymbol Method
Displays the contents of a library in the Call Browser.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'宣告
Function SetRootAtSymbol ( _
cbMode As Integer, _
ByRef guidLib As Guid, _
rgSymbolNodes As SYMBOL_DESCRIPTION_NODE(), _
ulcNodes As UInteger _
) As Integer
'用途
Dim instance As IVsCallBrowser
Dim cbMode As Integer
Dim guidLib As Guid
Dim rgSymbolNodes As SYMBOL_DESCRIPTION_NODE()
Dim ulcNodes As UInteger
Dim returnValue As Integer
returnValue = instance.SetRootAtSymbol(cbMode, _
guidLib, rgSymbolNodes, ulcNodes)
int SetRootAtSymbol(
int cbMode,
ref Guid guidLib,
SYMBOL_DESCRIPTION_NODE[] rgSymbolNodes,
uint ulcNodes
)
int SetRootAtSymbol(
[InAttribute] int cbMode,
[InAttribute] Guid% guidLib,
[InAttribute] array<SYMBOL_DESCRIPTION_NODE>^ rgSymbolNodes,
[InAttribute] unsigned int ulcNodes
)
abstract SetRootAtSymbol :
cbMode:int *
guidLib:Guid byref *
rgSymbolNodes:SYMBOL_DESCRIPTION_NODE[] *
ulcNodes:uint32 -> int
function SetRootAtSymbol(
cbMode : int,
guidLib : Guid,
rgSymbolNodes : SYMBOL_DESCRIPTION_NODE[],
ulcNodes : uint
) : int
Parameters
- cbMode
Type: System.Int32
[in] Browser mode to use. A value from the __VSCALLBROWSERMODE enumeration.
- guidLib
Type: System.Guid%
[in] The GUID of the library to use.
- rgSymbolNodes
Type: array<Microsoft.VisualStudio.Shell.Interop.SYMBOL_DESCRIPTION_NODE[]
[in] An array of SYMBOL_DESCRIPTION_NODE structures containing the nodes to use in the browser.
- ulcNodes
Type: System.UInt32
[in] Number of nodes returned—the length of rgSymbolNodes.
Return Value
Type: System.Int32
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
);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.