View::ExecuteSelectionMenuItem method

The ExecuteSelectionMenuItem method executes a specified menu command for the selected item.

Syntax

View.ExecuteSelectionMenuItem( _
  ByVal MenuItemPath As String _
)

Parameters

MenuItemPath

The menu command path.

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.ExecuteScopeNodeMenuItem