Parameters
- menu
- The context menu to add
Return Value
True if the add or update was successful, false if an error occurred
Exception | Description |
---|---|
System.ArgumentNullException | If the name passed is null or empty |
System.InvalidOperationException | If the ContextMenus object is not available or in an error state |