IVsHierarchyDeleteHandler2.ShowSpecificDeleteRemoveMessage Method
Shows a specific 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 ShowSpecificDeleteRemoveMessage ( _
dwDelItemOps As UInteger, _
cDelItems As UInteger, _
rgDelItems As UInteger(), _
<OutAttribute> ByRef pfShowStandardMessage As Integer, _
<OutAttribute> ByRef pdwDelItemOp As UInteger _
) As Integer
int ShowSpecificDeleteRemoveMessage(
uint dwDelItemOps,
uint cDelItems,
uint[] rgDelItems,
out int pfShowStandardMessage,
out uint pdwDelItemOp
)
int ShowSpecificDeleteRemoveMessage(
[InAttribute] unsigned int dwDelItemOps,
[InAttribute] unsigned int cDelItems,
[InAttribute] array<unsigned int>^ rgDelItems,
[OutAttribute] int% pfShowStandardMessage,
[OutAttribute] unsigned int% pdwDelItemOp
)
abstract ShowSpecificDeleteRemoveMessage :
dwDelItemOps:uint32 *
cDelItems:uint32 *
rgDelItems:uint32[] *
pfShowStandardMessage:int byref *
pdwDelItemOp:uint32 byref -> int
function ShowSpecificDeleteRemoveMessage(
dwDelItemOps : uint,
cDelItems : uint,
rgDelItems : uint[],
pfShowStandardMessage : int,
pdwDelItemOp : uint
) : int
Parameters
dwDelItemOps
Type: UInt32[in] A value from the __VSDELETEITEMOPERATION enumeration.
cDelItems
Type: UInt32[in]The number of items in rgDelItems
rgDelItems
Type: array<UInt32[][in] Array of VSITEMID values indicating items to delete from the project.
pfShowStandardMessage
Type: Int32%[out] Set to true if the shell is to ignore pdwDelItemOp and shows the standard message.
pdwDelItemOp
Type: UInt32%[out] Set to DELITEMOP_DeleteFromStorage or DELITEMOP_RemoveFromProject if delete or remove allowed.
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::ShowSpecificDeleteRemoveMessage(
[in] DWORD dwDelItemOps,
[in] ULONG cDelItems,
[in, size_is(cDelItems)] VSITEMID rgDelItems[],
[out] BOOL *pfShowStandardMessage,
[out] VSDELETEITEMOPERATION *pdwDelItemOp
);
Notes for Callers
If the project returns true in pfShowStandardMessage, any value in pdwDelItemOp is ignored.
.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.