IVsHierarchyEvents::OnItemsAppended Method (UInt32)
Visual Studio 2015
Notifies clients when items are appended to the end of the hierarchy.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- itemidParent
-
Type:
System::UInt32
[in] Identifier of the parent or root node of the hierarchy to which the item is appended.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell.idl:
HRESULT IVsHierarchyEvents::OnItemsAppended(
[in] VSITEMID itemidParent
);
When a hierarchy sends notification via IVsHierarchyEvents.OnItemsAppended that it contains appended items, find the item identifier of the last child you were aware of, and then ask the hierarchy what the next sibling of the item is. Add the sibling item to the hierarchy. Continue with this process, increasing the queried value by one, until the hierarchy returns no new items.
Show: