ContextMenu.AddItem
Method
Description:
Add an item to the Context Menu.
Add an item to the Context Menu.
Remarks:
Use this method to add a specific type of MenuItem object to context menu.
Use this method to add a specific type of MenuItem object to context menu.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | A non-optional argument was null |