Udostępnij za pośrednictwem


IVsHierarchyDeleteHandler3 Interface

Definition

Provides bulk item delete capability.

public interface class IVsHierarchyDeleteHandler3
public interface class IVsHierarchyDeleteHandler3
__interface IVsHierarchyDeleteHandler3
[System.Runtime.InteropServices.Guid("3CCB143A-FB8D-455C-8413-9E051B98E557")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsHierarchyDeleteHandler3
[<System.Runtime.InteropServices.Guid("3CCB143A-FB8D-455C-8413-9E051B98E557")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsHierarchyDeleteHandler3 = interface
Public Interface 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