Partilhar via


IVsNavInfo.EnumPresentationNodes(UInt32, IVsEnumNavInfoNodes) Method

Definition

Defines a collection of nodes contained in the presentation path of the symbol.

public:
 int EnumPresentationNodes(System::UInt32 dwFlags, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsEnumNavInfoNodes ^ % ppEnum);
public:
 int EnumPresentationNodes(unsigned int dwFlags, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsEnumNavInfoNodes ^ &  ppEnum);
int EnumPresentationNodes(unsigned int dwFlags, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsEnumNavInfoNodes const & & ppEnum);
public int EnumPresentationNodes (uint dwFlags, out Microsoft.VisualStudio.Shell.Interop.IVsEnumNavInfoNodes ppEnum);
abstract member EnumPresentationNodes : uint32 * IVsEnumNavInfoNodes -> int
Public Function EnumPresentationNodes (dwFlags As UInteger, ByRef ppEnum As IVsEnumNavInfoNodes) As Integer

Parameters

dwFlags
UInt32

[in] One of the _LIB_LISTFLAGS values. Specifies a symbol-browsing tool, such as Class View, Object Browser, or Call Browser (only available in C++).

ppEnum
IVsEnumNavInfoNodes

[out] The IVsEnumNavInfoNodes. Identifies the collection of nodes in the presentation path of the symbol.

Returns

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

Remarks

COM Signature

From vsshell80.idl:

HRESULT IVsNavInfo::EnumPresentationNodes(  
   [in] DWORD dwFlags,   
   [out] IVsEnumNavInfoNodes ** ppEnum  
);  

A symbol may have several presentation paths but only one canonical path.

The presentation path depends in which symbol-browsing tool the symbol is displayed. It also depends on the position of the symbol relative to other symbols in the hierarchy tree.

Applies to