Manages the deletion or removal of hierarchy items.
public interface IVsHierarchyDeleteHandler
IVsHierarchyDeleteHandler type exposes the following members.
Name Description DeleteItem Handles the deletion or removal of a hierarchy item. QueryDeleteItem Called by the environment to determine whether the hierarchy supports item deletion, removal, or both. Top
This interface is optional and is retrieved by calling
QueryInterface from . It supports implementation of the IVsHierarchy command. UIHWF_RouteCmdidDelete
Implement this interface to determine how deletion or removal of items from the hierarchy is handled. Hierarchies can support both a destructive delete-from-storage option and a nondestructive, remove-from-project option on a per-item basis; the operation is based on the users selection from a dialog box.
handles the IVsUIHierarchyWindow command. To remove or delete an item, UIHWF_RouteCmdidDelete calls IVsUIHierarchyWindow or QueryDeleteItem with appropriate operations. DeleteItem Notes to Implementers
Implemented by hierarchies to control the delete or remove options for hierarchy items.
Notes to Callers
Called by the environment when a hierarchy item is selected (
) or deleted/removed ( QueryDeleteItem ). DeleteItem
( 1500 characters remaining)
Thank you for your feedback