Partilhar via


IVsSimpleBrowseComponentSet.CreateNavInfo Method

Definition

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

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

Parameters

guidLib
Guid

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

rgSymbolNodes
SYMBOL_DESCRIPTION_NODE[]

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

ulcNodes
UInt32

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

ppNavInfo
IVsNavInfo

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

Returns

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

Implements

Remarks

COM Signature

From vsshell80.idl:

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

Applies to