Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Handles the deletion or removal of one or more hierarchy items.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.11.0 (in Microsoft.VisualStudio.Shell.Interop.11.0.dll)
Syntax
'Declaration
Function DeleteItems ( _
cItems As UInteger, _
dwDelItemOp As UInteger, _
itemid As UInteger(), _
dwFlags As UInteger _
) As Integer
int DeleteItems(
uint cItems,
uint dwDelItemOp,
uint[] itemid,
uint dwFlags
)
int DeleteItems(
[InAttribute] unsigned int cItems,
[InAttribute] unsigned int dwDelItemOp,
[InAttribute] array<unsigned int>^ itemid,
[InAttribute] unsigned int dwFlags
)
abstract DeleteItems :
cItems:uint32 *
dwDelItemOp:uint32 *
itemid:uint32[] *
dwFlags:uint32 -> int
function DeleteItems(
cItems : uint,
dwDelItemOp : uint,
itemid : uint[],
dwFlags : uint
) : int
Parameters
cItems
Type: UInt32[in] The number of items to be deleted or removed.
dwDelItemOp
Type: UInt32[in] Determines whether the hierarchy or hierarchy items are deleted from storage or removed from the project. Values are taken from the __VSDELETEITEMOPERATION enumeration.
itemid
Type: array<UInt32[][in, size_is(cItems)] Array of item identifiers of the items in the hierarchy. VSITEMID_ROOT deletes everything in the hierarchy. VSITEMID_SELECTION is not supported.
dwFlags
Type: UInt32[in] Provides options for the deletion process. If set to DHO_SUPPRESS_UI, no confirmation dialogs or source code control (SCC) checkout UI is displayed.
Return Value
Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
.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.