Leggere in inglese

Condividi tramite


IVsHierarchyEvents.OnItemDeleted(UInt32) Method

Definition

Notifies clients when an item is deleted from the hierarchy.

public:
 int OnItemDeleted(unsigned int itemid);

Parameters

itemid
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.

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::OnItemDeleted(  
   [in] VSITEMID itemid  
);  

Applies to

Prodotto Versioni
Visual Studio SDK 2015, 2017, 2019, 2022