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
'Usage
Dim instance As IVsHierarchyDeleteHandler2
Dim dwDelItemOp As UInteger
Dim cDelItems As UInteger
Dim rgDelItems As UInteger()
Dim pfCancelOperation As Integer
Dim returnValue As Integer
returnValue = instance.ShowMultiSelDeleteOrRemoveMessage(dwDelItemOp, _
cDelItems, rgDelItems, pfCancelOperation)
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
)
function ShowMultiSelDeleteOrRemoveMessage(
dwDelItemOp : uint,
cDelItems : uint,
rgDelItems : uint[],
pfCancelOperation : int
) : int
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.
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.
See Also
Reference
IVsHierarchyDeleteHandler2 Interface