IVsHierarchyDeleteHandler2.ShowMultiSelDeleteOrRemoveMessage Method
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)
Syntax
'Declaration
Function ShowMultiSelDeleteOrRemoveMessage ( _
dwDelItemOp As UInteger, _
cDelItems As UInteger, _
rgDelItems As UInteger(), _
<OutAttribute> ByRef pfCancelOperation As Integer _
) As Integer
int ShowMultiSelDeleteOrRemoveMessage(
uint dwDelItemOp,
uint cDelItems,
uint[] rgDelItems,
out int pfCancelOperation
)
int ShowMultiSelDeleteOrRemoveMessage(
[InAttribute] unsigned int dwDelItemOp,
[InAttribute] unsigned int cDelItems,
[InAttribute] array<unsigned int>^ rgDelItems,
[OutAttribute] int% pfCancelOperation
)
abstract ShowMultiSelDeleteOrRemoveMessage :
dwDelItemOp:uint32 *
cDelItems:uint32 *
rgDelItems:uint32[] *
pfCancelOperation:int byref -> int
function ShowMultiSelDeleteOrRemoveMessage(
dwDelItemOp : uint,
cDelItems : uint,
rgDelItems : uint[],
pfCancelOperation : int
) : int
Parameters
dwDelItemOp
Type: UInt32[in] A value from the __VSDELETEITEMOPERATION enumeration.
cDelItems
Type: UInt32[in] Number of items in rgDelItems
rgDelItems
Type: array<UInt32[][in] Array of VSITEMID values indicating items to delete from the project.
pfCancelOperation
Type: Int32%[out] If true cancels the entire delete or remove operations.
Return Value
Type: Int32
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
);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.