Command object
A Command object holds information about an item being selected.

NameDescription
CaptionRetrieves or sets a value that indicates the caption of item menu.
CheckedRetrieves or sets a value that indicates if the item menu is checked or unchecked.
FilePathRetrieves a value that indicates the file path of the command, when it is of ShortCut type.
GrayedRetrieves or sets a value that indicates wehter the item menu is enabled or disabled.
IDRetrieves the item menu command identifier.
ImageRetrieves or sets the image associated with the item menu,