共用方式為


IVsLibrary2.CreateNavInfo Method

Definition

Reserved for future use.

public:
 int CreateNavInfo(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(Platform::Array <Microsoft::VisualStudio::Shell::Interop::SYMBOL_DESCRIPTION_NODE> ^ rgSymbolNodes, unsigned int ulcNodes, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsNavInfo ^ &  ppNavInfo);
int CreateNavInfo(std::Array <Microsoft::VisualStudio::Shell::Interop::SYMBOL_DESCRIPTION_NODE> const & rgSymbolNodes, unsigned int ulcNodes, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsNavInfo const & & ppNavInfo);
public int CreateNavInfo (Microsoft.VisualStudio.Shell.Interop.SYMBOL_DESCRIPTION_NODE[] rgSymbolNodes, uint ulcNodes, out Microsoft.VisualStudio.Shell.Interop.IVsNavInfo ppNavInfo);
abstract member CreateNavInfo : Microsoft.VisualStudio.Shell.Interop.SYMBOL_DESCRIPTION_NODE[] * uint32 * IVsNavInfo -> int
Public Function CreateNavInfo (rgSymbolNodes As SYMBOL_DESCRIPTION_NODE(), ulcNodes As UInteger, ByRef ppNavInfo As IVsNavInfo) As Integer

Parameters

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

[out] Returns an IVsNavInfo object representing the navigation information for all nodes in the tree.

Returns

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

Remarks

COM Signature

From vsshell80.idl:

HRESULT IVsLibrary2::CreateNavInfo(  
   [in, size_is(ulcNodes)] SYMBOL_DESCRIPTION_NODE rgSymbolNodes[],   
   [in] ULONG ulcNodes,   
   [out] IVsNavInfo ** ppNavInfo  
);  

Applies to