Method MenuItemInfo.GetText(+ 1 overload)
Overload
Gets menu item text.
public string GetText(bool removeHotkey, bool removeAmp)
Parameters
Returns
string
|
Overload(top)
Gets menu item text.
public static string GetText(nint menuHandle, int id, bool byIndex, bool removeHotkey, bool removeAmp)
Parameters
menuHandle (nint) |
id (int) |
byIndex (bool)
id is 0-based index. For example you can use it to get text of a submenu-item, because such items usually don't have id. |
removeHotkey (bool)
If contains |
removeAmp (bool) |
Returns
string
|