Freigeben über


FlavoredProject.IVsUIHierarchy.GetNestedHierarchy Method

Definition

Determines whether or not a node is a nested hierarchy.

 virtual int Microsoft.VisualStudio.Shell.Interop.IVsUIHierarchy.GetNestedHierarchy(System::UInt32 itemid, Guid % iidHierarchyNested, [Runtime::InteropServices::Out] IntPtr % ppHierarchyNested, [Runtime::InteropServices::Out] System::UInt32 % pitemidNested) = Microsoft::VisualStudio::Shell::Interop::IVsUIHierarchy::GetNestedHierarchy;
int IVsUIHierarchy.GetNestedHierarchy (uint itemid, ref Guid iidHierarchyNested, out IntPtr ppHierarchyNested, out uint pitemidNested);
abstract member Microsoft.VisualStudio.Shell.Interop.IVsUIHierarchy.GetNestedHierarchy : uint32 * Guid * nativeint * uint32 -> int
override this.Microsoft.VisualStudio.Shell.Interop.IVsUIHierarchy.GetNestedHierarchy : uint32 * Guid * nativeint * uint32 -> int
Function GetNestedHierarchy (itemid As UInteger, ByRef iidHierarchyNested As Guid, ByRef ppHierarchyNested As IntPtr, ByRef pitemidNested As UInteger) As Integer Implements IVsUIHierarchy.GetNestedHierarchy

Parameters

itemid
UInt32

The item ID of the node.

iidHierarchyNested
Guid

The interface ID of the node.

ppHierarchyNested
IntPtr

nativeint

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

pitemidNested
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.

Implements

Remarks

This method calls the GetNestedHierarchy method.

Applies to