Compartilhar via


FlavoredProject.IVsUIHierarchy.GetNestedHierarchy Method

Determines whether or not a node is a nested hierarchy.

Namespace:  Microsoft.VisualStudio.Shell.Flavor
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'Declaração
Private Function GetNestedHierarchy ( _
    itemid As UInteger, _
    ByRef iidHierarchyNested As Guid, _
    <OutAttribute> ByRef ppHierarchyNested As IntPtr, _
    <OutAttribute> ByRef pitemidNested As UInteger _
) As Integer Implements IVsUIHierarchy.GetNestedHierarchy
int IVsUIHierarchy.GetNestedHierarchy(
    uint itemid,
    ref Guid iidHierarchyNested,
    out IntPtr ppHierarchyNested,
    out uint pitemidNested
)

Parameters

  • iidHierarchyNested
    Type: System.Guid%
    The interface ID of the node.
  • ppHierarchyNested
    Type: System.IntPtr%
    [out] Returns a pointer to the node, if it is a nested hierarchy node. 

Return Value

Type: System.Int32
If itemid is not a nested hierarchy node, this method returns [F:Microsoft.VisualStudio.VSConstants.][E_FAIL]. If the requested interface is not supported on the hierarchy object, [F:Microsoft.VisualStudio.VSConstants.][E_NOINTERFACE] is returned. The caller would then treat this node as if it had no children.

Implements

IVsUIHierarchy.GetNestedHierarchy(UInt32, Guid%, IntPtr%, UInt32%)

Remarks

This method calls the GetNestedHierarchy method.

.NET Framework Security

See Also

Reference

FlavoredProject Class

Microsoft.VisualStudio.Shell.Flavor Namespace