IVsNavInfo::EnumPresentationNodes Method (UInt32, IVsEnumNavInfoNodes^)

 

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

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

int EnumPresentationNodes(
	unsigned int dwFlags,
	[OutAttribute] IVsEnumNavInfoNodes^% ppEnum
)

Parameters

dwFlags
Type: System::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
Type: Microsoft.VisualStudio.Shell.Interop::IVsEnumNavInfoNodes^

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

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 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.

Return to top
Show: