Compartilhar via


IVsNavInfo.EnumPresentationNodes Method

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)

Syntax

'Declaration
Function EnumPresentationNodes ( _
    dwFlags As UInteger, _
    <OutAttribute> ByRef ppEnum As IVsEnumNavInfoNodes _
) As Integer
int EnumPresentationNodes(
    uint dwFlags,
    out IVsEnumNavInfoNodes ppEnum
)
int EnumPresentationNodes(
    [InAttribute] unsigned int dwFlags, 
    [OutAttribute] IVsEnumNavInfoNodes^% ppEnum
)
abstract EnumPresentationNodes : 
        dwFlags:uint32 * 
        ppEnum:IVsEnumNavInfoNodes byref -> int
function EnumPresentationNodes(
    dwFlags : uint, 
    ppEnum : IVsEnumNavInfoNodes
) : int

Parameters

  • dwFlags
    Type: 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++).

Return Value

Type: Int32
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.

.NET Framework Security

See Also

Reference

IVsNavInfo Interface

Microsoft.VisualStudio.Shell.Interop Namespace