共用方式為


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

'宣告
Function EnumPresentationNodes ( _
    dwFlags As UInteger, _
    <OutAttribute> ByRef ppEnum As IVsEnumNavInfoNodes _
) As Integer
'用途
Dim instance As IVsNavInfo
Dim dwFlags As UInteger
Dim ppEnum As IVsEnumNavInfoNodes
Dim returnValue As Integer

returnValue = instance.EnumPresentationNodes(dwFlags, _
    ppEnum)
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: 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++).

Return Value

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

IVsNavInfo Members

Microsoft.VisualStudio.Shell.Interop Namespace