Parameters
- name
- The descriptive name of the menu
Return Value
The ContextMenu object associated with name, or null if it does not exist
Exception | Description |
---|---|
ArgumentNullException | If the name passed is null or empty |
InvalidOperationException | If the ContextMenus object is not available or in an error state |