IVsHierarchyDeleteHandler3 Interface

Definition

Provides bulk item delete capability.

C++/CX
public interface class IVsHierarchyDeleteHandler3
Attributes

Remarks

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.

Methods

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.

Applies to

Proizvod Verzije
Visual Studio SDK 2015, 2017, 2019, 2022