다음을 통해 공유


IVsHierarchyEvents.OnItemDeleted(UInt32) Method

Definition

Notifies clients when an item is deleted from the hierarchy.

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

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