IVsHierarchyDeleteHandler2::ShowMultiSelDeleteOrRemoveMessage Method (UInt32, UInt32, array<UInt32>^, Int32)

 

Displays the multiple selection delete or remove message.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

int ShowMultiSelDeleteOrRemoveMessage(
	unsigned int dwDelItemOp,
	unsigned int cDelItems,
	array<unsigned int>^ rgDelItems,
	[OutAttribute] int% pfCancelOperation
)

Parameters

dwDelItemOp
Type: System::UInt32

[in] A value from the __VSDELETEITEMOPERATION enumeration.

cDelItems
Type: System::UInt32

[in] Number of items in rgDelItems

rgDelItems
Type: array<System::UInt32>^

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

pfCancelOperation
Type: System::Int32

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

Return Value

Type: System::Int32

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

From vsshell80.idl:

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