Partilhar via


IVsHierarchyEvents.OnItemsAppended(UInt32) Method

Definition

Notifies clients when items are appended to the end of the hierarchy.

public:
 int OnItemsAppended(System::UInt32 itemidParent);
public:
 int OnItemsAppended(unsigned int itemidParent);
int OnItemsAppended(unsigned int itemidParent);
public int OnItemsAppended (uint itemidParent);
abstract member OnItemsAppended : uint32 -> int
Public Function OnItemsAppended (itemidParent As UInteger) As Integer

Parameters

itemidParent
UInt32

[in] Identifier of the parent or root node of the hierarchy to which the item is appended.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

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.

Applies to