OptionaladdressDiagnostic candidates for an ambiguous main-menu node; never select the first automatically.
OptionalavailabilityCommand counts below this submenu; only with withAvailability, and not on submenus nested inside the Win32 menus.
OptionalavailableThe same as enabled; only on a command.
OptionalcheckedWhether the command shows a check mark (a radio mark counts too); only on a command.
OptionalchildrenThe children, in menu order; only on a submenu.
OptionalcommandMenu item id. For a context-menu command, menu.runContextCommandById runs it. The id is valid only for the menu it came from, so do not store it. Absent on the flat list.
Optionaldisplaylabel translated for locale; the same as label when translation is off or has no entry for it.
Optionaldisplaypath made of display labels.
OptionalenabledWhether the command can run; only on a command.
OptionalexecutableFor main menus, whether the command has a unique complete execution address, independently of enabled. For context menus, whether a command GUID is present.
Optionalfallbacktrue on a command of the flat list.
OptionalflagsRaw display flags. Their bits depend on where the node came from: SDK menu flags from the menu tree and the flat list, Win32 menu state from the Win32 menus. Absent on a submenu of the Win32 menus.
OptionalguidCommand GUID, the stable address to pass to menu.runMainMenuCommand or menu.runContextCommand; absent when it could not be resolved.
OptionalhiddenWhether the host would not draw the command; only on a command.
OptionallabelLabel as the host reports it (localized on a translated build).
OptionalpathSlash-separated labels from the top of the menu.
OptionalradioWhether the check mark is a radio mark; only on a command.
OptionalsourceMain-menu sources reflect the provider's node kind, even when a dynamic leaf has no usable subGuid. Context-menu sources use subGuid presence. Win32 menu commands use hmenu_fallback.
OptionalsubGUID of a dynamic child command, passed together with guid.
Node kind.
OptionalunaddressableWhy the command cannot be run; present when executable is false.
A separator, submenu with children, or command with state and address fields.