FlavoredProject::IVsUIHierarchy::GetNestedHierarchy Method (UInt32, Guid, IntPtr, UInt32)
Visual Studio 2015
Determines whether or not a node is a nested hierarchy.
Assembly: Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)
private: virtual int GetNestedHierarchy( unsigned int itemid, Guid% iidHierarchyNested, [OutAttribute] IntPtr% ppHierarchyNested, [OutAttribute] unsigned int% pitemidNested ) sealed = IVsUIHierarchy::GetNestedHierarchy
Parameters
- itemid
-
Type:
System::UInt32
The item ID of the node.
- 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.
- pitemidNested
-
Type:
System::UInt32
[out] Returns the item ID of the nested hierarchy node; this will always be VSITEMID_ROOT.
Return Value
Type: System::Int32If 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.
This method calls the GetNestedHierarchy method.
Show: