GetItemString
Mac OSThe
GetItemStringmethod gets the text string of the specified menu item.
void GetItemString (in ODCommandID cmdNumber, out ODIText itemString);
cmdNumber- The command ID of the menu item whose text you wish to obtain. On the Mac OS platform, the command ID is defined as a signed 32-bit value.
itemString- The text string of the specified menu item.
EXCEPTIONS
kODErrInvalidCommandID- The specified menu item does not exist.
SEE ALSO
TheODCommandIDtype (page 895).
TheODITexttype (page 875).