Method of IMenuObject
Finds menu position by command name
var ppLocation = MenuObject.GetMenuItemPos(strCommandName);
==== Visual Basic Script ====
ppLocation = MenuObject.GetMenuItemPos strCommandName
==== C++ ====
CComPtr<IMenuLocation> pLocation; HRESULT hr = MenuObject.GetMenuItemPos(strCommandName, &pLocation);
===== See Also ===== IMenuObject