Partilhar via


MenuItem::LanguageIndependentPath property

The LanguageIndependentPath property returns the language-independent path of the menu item.

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

Syntax

Property LanguageIndependentPath As String

Property value

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

Examples

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

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

MenuItem.LanguageIndependentName

MenuItem.Path

ContextMenu.Item

ContextMenu object