Partilhar via


FlavoredProject.GetNestedHierarchy(UInt32, Guid, IntPtr, UInt32) Method

Definition

Determines whether or not a node is a nested hierarchy.

protected:
 virtual int GetNestedHierarchy(System::UInt32 itemId, Guid % guidHierarchyNested, [Runtime::InteropServices::Out] IntPtr % hierarchyNested, [Runtime::InteropServices::Out] System::UInt32 % itemIdNested);
protected virtual int GetNestedHierarchy (uint itemId, ref Guid guidHierarchyNested, out IntPtr hierarchyNested, out uint itemIdNested);
abstract member GetNestedHierarchy : uint32 * Guid * nativeint * uint32 -> int
override this.GetNestedHierarchy : uint32 * Guid * nativeint * uint32 -> int
Protected Overridable Function GetNestedHierarchy (itemId As UInteger, ByRef guidHierarchyNested As Guid, ByRef hierarchyNested As IntPtr, ByRef itemIdNested As UInteger) As Integer

Parameters

itemId
UInt32

The item ID of the node.

guidHierarchyNested
Guid

The interface ID of the node.

hierarchyNested
IntPtr

nativeint

[out] Returns a pointer to the node, if it is a nested hierarchy node.

itemIdNested
UInt32

[out] Returns the item ID of the nested hierarchy node; this will always be VSITEMID_ROOT.

Returns

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

Remarks

This method calls GetNestedHierarchy on the inner project.

Applies to