This documentation is archived and is not being maintained.

IVsHierarchyEvents.OnItemDeleted Method

Notifies clients when an item is deleted from the hierarchy.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

abstract OnItemDeleted : 
        itemid:uint32 -> int

Parameters

itemid
Type: UInt32

[in] Identifier of the deleted item. This is the same identifier assigned to the new item by the hierarchy when it is added to the hierarchy.

Return Value

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

COM Signature

From vsshell.idl:

HRESULT IVsHierarchyEvents::OnItemDeleted(
   [in] VSITEMID itemid
);

Show: