Partager via


View::DeleteSelection method

The DeleteSelection method executes the Delete command for the selected items. If the context menu does not support Delete, then this method will not perform any operation.

Syntax

View.DeleteSelection()

Parameters

This method has no parameters.

Return value

This method does not return a value.

Requirements

Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Header
MMCObj.h
IDL
MMCObj.idl
DLL
Mmc.exe
IID
IID_View is defined as 6EFC2DA2-B38C-457E-9ABB-ED2D189B8C38

See also

View.DeleteScopeNode