IVsNavInfo.EnumCanonicalNodes Method
Defines a collection of nodes contained in the canonical 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 EnumCanonicalNodes ( _
<OutAttribute> ByRef ppEnum As IVsEnumNavInfoNodes _
) As Integer
'使用
Dim instance As IVsNavInfo
Dim ppEnum As IVsEnumNavInfoNodes
Dim returnValue As Integer
returnValue = instance.EnumCanonicalNodes(ppEnum)
int EnumCanonicalNodes(
out IVsEnumNavInfoNodes ppEnum
)
int EnumCanonicalNodes(
[OutAttribute] IVsEnumNavInfoNodes^% ppEnum
)
function EnumCanonicalNodes(
ppEnum : IVsEnumNavInfoNodes
) : int
Parameters
ppEnum
Type: Microsoft.VisualStudio.Shell.Interop.IVsEnumNavInfoNodes%[out] The IVsEnumNavInfoNodes. Identifies the collection of nodes in the canonical 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.
Remarks
COM Signature
From vsshell80.idl:
HRESULT IVsNavInfo::EnumCanonicalNodes(
[out] IVsEnumNavInfoNodes ** ppEnum
);
A canonical path is a unique, fully qualified path identifying the symbol within the hierarchical tree of symbols. The canonical path starts with the top-level node and ends with a specific symbol.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.