MenuItem Object object

The MenuItem object encapsulates a single context menu item.

Members

The MenuItem Object object has these types of members:

Methods

The MenuItem Object object has these methods.

MethodDescription
Execute

Executes a menu item.

 

Properties

The MenuItem Object object has these properties.

PropertyAccess typeDescription

DisplayName

Read-only

The name of the menu item, including accelerators.

Enabled

Read-only

Returns the menu item's enabled status.

LanguageIndependentName

Read-only

The language-independent name of the menu item; accelerators are not included.

LanguageIndependentPath

Read-only

The language-independent path of the menu item, starting from the root.

Path

Read-only

The path of the menu item, starting from the root.

 

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Header

MMCObj.h

IDL

MMCObj.idl

DLL

MmcNdMgr.dll

IID

IID_MenuItem is defined as 0178FAD1-B361-4B27-96AD-67C57EBF2E1D

See also

ContextMenu.Item
ContextMenu object

 

 

Show: