IVsHierarchyDeleteHandler2::ShowSpecificDeleteRemoveMessage Method (UInt32, UInt32, array<UInt32>^, Int32, UInt32)
Visual Studio 2015
Shows a specific delete or remove message.
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
int ShowSpecificDeleteRemoveMessage( unsigned int dwDelItemOps, unsigned int cDelItems, array<unsigned int>^ rgDelItems, [OutAttribute] int% pfShowStandardMessage, [OutAttribute] unsigned int% pdwDelItemOp )
Parameters
- dwDelItemOps
-
Type:
System::UInt32
[in] A value from the __VSDELETEITEMOPERATION enumeration.
- cDelItems
-
Type:
System::UInt32
[in]The number of items in rgDelItems
- rgDelItems
-
Type:
array<System::UInt32>^
[in] Array of VSITEMID values indicating items to delete from the project.
- pfShowStandardMessage
-
Type:
System::Int32
[out] Set to true if the shell is to ignore pdwDelItemOp and shows the standard message.
- pdwDelItemOp
-
Type:
System::UInt32
[out] Set to DELITEMOP_DeleteFromStorage or DELITEMOP_RemoveFromProject if delete or remove allowed.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell80.idl:
HRESULT IVsHierarchyDeleteHandler2::ShowSpecificDeleteRemoveMessage( [in] DWORD dwDelItemOps, [in] ULONG cDelItems, [in, size_is(cDelItems)] VSITEMID rgDelItems[], [out] BOOL *pfShowStandardMessage, [out] VSDELETEITEMOPERATION *pdwDelItemOp );
If the project returns true in pfShowStandardMessage, any value in pdwDelItemOp is ignored.
Show: