Removes a menu item from the right-click menu.
The removal only affects the current right-click event. In subsequent right-click events, the item is displayed (unless this method is again called and the item is removed from the menu).
Removes a menu item from the right-click menu.
The removal only affects the current right-click event. In subsequent right-click events, the item is displayed (unless this method is again called and the item is removed from the menu).
| Visual Basic |
|---|
Public Sub RemoveFromContent( _ ByVal menuId As Variant _ ) |
You can call this method only during the right-click event's before notification. The method throws an exception when called from the after notification.
| ||