IVsHierarchyDeleteHandler3 Interface
Visual Studio 2015
Provides bulk item delete capability.
Assembly: Microsoft.VisualStudio.Shell.Interop.11.0 (in Microsoft.VisualStudio.Shell.Interop.11.0.dll)
| Name | Description | |
|---|---|---|
![]() | DeleteItems(UInt32, UInt32, UInt32[], UInt32) | Handles the deletion or removal of one or more hierarchy items. |
![]() | QueryDeleteItems(UInt32, UInt32, UInt32[], Boolean[]) | Determines whether the hierarchy supports item deletion, removal, or both. |
This interface is obtained by querying (QueryInterface) from an IVsHierarchy.
This interface should be used instead of IVsHierarchyDeleteHandler when deleting multiple items (or even just one item) to allow the implementation to use the most efficient algorithm.
In case of an error during a bulk delete operation, implementations should return a failing HRESULT immediately and return without deleting further items. Detailed error messages can be set with SetErrorInfo.
Show:
