IVsBrowseComponentSet::CreateNavInfo Method (Guid, array<SYMBOL_DESCRIPTION_NODE>^, UInt32, IVsNavInfo^)

 

Creates IVsNavInfo for a symbol defined in the rgSymbolNodes array of symbols.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

int CreateNavInfo(
	[InAttribute] Guid% guidLib,
	array<SYMBOL_DESCRIPTION_NODE>^ rgSymbolNodes,
	unsigned int ulcNodes,
	[OutAttribute] IVsNavInfo^% ppNavInfo
)

Parameters

guidLib
Type: System::Guid

[in]The Guid that identifies the registered library. For more information, see vsshell80.idl, VS Browse Libraries.

rgSymbolNodes
Type: array<Microsoft.VisualStudio.Shell.Interop::SYMBOL_DESCRIPTION_NODE>^

[in] An array of SYMBOL_DESCRIPTION_NODE objects describing each node in the tree.

ulcNodes
Type: System::UInt32

[in] The number of objects in the rgSymbolNodes array.

ppNavInfo
Type: Microsoft.VisualStudio.Shell.Interop::IVsNavInfo^

The IVsNavInfo that represents the navigation information of a symbol in the hierarchical tree of symbols.

Return Value

Type: System::Int32

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

From vsshell80.idl:

HRESULT CreateNavInfo(
[in] REFGUID guidLib, 
[in, size_is(ulcNodes)] SYMBOL_DESCRIPTION_NODE rgSymbolNodes[], 
[in] ULONG ulcNodes, 
[out, retval] IVsNavInfo ** ppNavInfo
);
Return to top
Show: