FlavoredProject.GetNestedHierarchy(UInt32, Guid, IntPtr, UInt32) 方法

定义

确定节点是否是嵌套层次结构。

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

参数

itemId
UInt32

节点的项 ID。

guidHierarchyNested
Guid

节点的接口 ID。

hierarchyNested
IntPtr

nativeint

弄如果是嵌套层次结构节点,则返回指向节点的指针。

itemIdNested
UInt32

弄返回嵌套层次结构节点的项 ID;这将始终为 VSITEMID_ROOT

返回

Int32

如果不是 itemid 嵌套层次结构节点,则此方法返回 Microsoft.VisualStudio.VSConstants. E_FAIL 。 如果层次结构对象不支持请求的接口, Microsoft.VisualStudio.VSConstants. E_NOINTERFACE 则返回。 然后,调用方将此节点视为没有子级。

注解

此方法调用 GetNestedHierarchy 内部项目。

适用于