IVsBrowseComponentSet.CreateNavInfo(Guid, SYMBOL_DESCRIPTION_NODE[], UInt32, IVsNavInfo) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Crée des IVsNavInfo pour un symbole défini dans le tableau de symboles rgSymbolNodes.
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
Paramètres
- guidLib
- Guid
[in] Guid identifiant la bibliothèque inscrite. Pour plus d'informations, consultez vsshell80.idl, Parcourir les Bibliothèques VS.
- rgSymbolNodes
- SYMBOL_DESCRIPTION_NODE[]
[in] Tableau d'objets SYMBOL_DESCRIPTION_NODE décrivant chaque nœud de l'arborescence.
- ulcNodes
- UInt32
[in] Nombre d'objets dans le tableau rgSymbolNodes.
- ppNavInfo
- IVsNavInfo
IVsNavInfo qui représente les informations de navigation d'un symbole dans l'arborescence hiérarchique des symboles.
Retours
Si la méthode réussit, retourne S_OK. En cas d'échec, retourne un code d'erreur.
Remarques
Signature COM
À partir de vsshell80. idl :
HRESULT CreateNavInfo(
[in] REFGUID guidLib,
[in, size_is(ulcNodes)] SYMBOL_DESCRIPTION_NODE rgSymbolNodes[],
[in] ULONG ulcNodes,
[out, retval] IVsNavInfo ** ppNavInfo
);