IVsNavigationTool.NavigateToSymbol Method
Tells the class or object browser to navigate to items in a library.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'Declaration
Function NavigateToSymbol ( _
ByRef guidLib As Guid, _
rgSymbolNodes As SYMBOL_DESCRIPTION_NODE(), _
ulcNodes As UInteger _
) As Integer
int NavigateToSymbol(
ref Guid guidLib,
SYMBOL_DESCRIPTION_NODE[] rgSymbolNodes,
uint ulcNodes
)
int NavigateToSymbol(
[InAttribute] Guid% guidLib,
[InAttribute] array<SYMBOL_DESCRIPTION_NODE>^ rgSymbolNodes,
[InAttribute] unsigned int ulcNodes
)
abstract NavigateToSymbol :
guidLib:Guid byref *
rgSymbolNodes:SYMBOL_DESCRIPTION_NODE[] *
ulcNodes:uint32 -> int
function NavigateToSymbol(
guidLib : Guid,
rgSymbolNodes : SYMBOL_DESCRIPTION_NODE[],
ulcNodes : uint
) : int
Parameters
guidLib
Type: Guid%[in] The GUID of the library containing the symbol.
rgSymbolNodes
Type: array<Microsoft.VisualStudio.Shell.Interop.SYMBOL_DESCRIPTION_NODE[][in] An array of SYMBOL_DESCRIPTION_NODE structures describing the symbols.
ulcNodes
Type: UInt32[in] Number of elements in rgSymbolNodes.
Return Value
Type: Int32
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
);
.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.