次の方法で共有


IVsHierarchyDeleteHandler2.ShowMultiSelDeleteOrRemoveMessage Method

Definition

Displays the multiple selection delete or remove message.

public:
 int ShowMultiSelDeleteOrRemoveMessage(System::UInt32 dwDelItemOp, System::UInt32 cDelItems, cli::array <System::UInt32> ^ rgDelItems, [Runtime::InteropServices::Out] int % pfCancelOperation);
int ShowMultiSelDeleteOrRemoveMessage(unsigned int dwDelItemOp, unsigned int cDelItems, std::Array <unsigned int> const & rgDelItems, [Runtime::InteropServices::Out] int & pfCancelOperation);
public int ShowMultiSelDeleteOrRemoveMessage (uint dwDelItemOp, uint cDelItems, uint[] rgDelItems, out int pfCancelOperation);
abstract member ShowMultiSelDeleteOrRemoveMessage : uint32 * uint32 * uint32[] * int -> int
Public Function ShowMultiSelDeleteOrRemoveMessage (dwDelItemOp As UInteger, cDelItems As UInteger, rgDelItems As UInteger(), ByRef pfCancelOperation As Integer) As Integer

Parameters

dwDelItemOp
UInt32

[in] A value from the __VSDELETEITEMOPERATION enumeration.

cDelItems
UInt32

[in] Number of items in rgDelItems

rgDelItems
UInt32[]

[in] Array of VSITEMID values indicating items to delete from the project.

pfCancelOperation
Int32

[out] If true cancels the entire delete or remove operations.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell80.idl:

HRESULT IVsHierarchyDeleteHandler2::ShowMultiSelDeleteOrRemoveMessage(  
   [in] VSDELETEITEMOPERATION dwDelItemOp,   
   [in] ULONG cDelItems,   
   [in, size_is(cDelItems)] VSITEMID rgDelItems[],   
   [out] BOOL *pfCancelOperation  
);  

Applies to