MenuItem::LanguageIndependentName property
The LanguageIndependentName property returns the language-independent name of the menu item or the display name, without accelerator key coding, if there is no language-independent name. This property is read-only.
Syntax
Property LanguageIndependentName As String
Property value
The language-independent name for the menu item if it exists; otherwise, the return value is the display name with any accelerator key coding removed.
Examples
' Display the MenuItem's LanguageIndependentName property.
MsgBox ("LanguageIndependentName: " _
& objMenuItem.LanguageIndependentName)
Requirements
Minimum supported client |
Windows Vista |
Minimum supported server |
Windows Server 2008 |
Header |
|
IDL |
|
DLL |
|
IID |
IID_MenuItem is defined as 0178FAD1-B361-4B27-96AD-67C57EBF2E1D |