Partilhar via


MenuItem::Path property

The Path property returns the path of the menu item.

The path starts at the root, and the menu items are separated by "->". This property is read-only.

Syntax

Property Path As String

Property value

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

Examples

' Display the MenuItem's Path property.
MsgBox ("Path: " & objMenuItem.Path)

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

MenuItem.LanguageIndependentPath