NXOpen .NET Reference
12.0.0
|
Represents Custom Popup Menu Item class More...
Public Member Functions | |
unsafe NXOpen.CustomPopupMenuItem | AddMenuItem (int menuItemId, string menuItemName) |
Adds and returns a menu item to this menu More... | |
unsafe NXOpen.CustomPopupMenu | AddMenu (int menuId, string menuName) |
Adds and returns a menu to this menu More... | |
unsafe void | AddMenuSeparator () |
Adds a separator in the submenu More... | |
Public Member Functions inherited from NXOpen.CustomPopupMenuItem | |
unsafe int | GetId () |
Returns Id of the menu item. More... | |
unsafe string | GetName () |
Returns name of the menu item. More... | |
unsafe void | SetDisabled () |
Sets the menu disabled More... | |
Protected Member Functions | |
override void | FreeResource () |
Frees the object from memory. More... | |
Protected Member Functions inherited from NXOpen.CustomPopupMenuItem | |
override void | FreeResource () |
Frees the object from memory. More... | |
Represents Custom Popup Menu Item class
Created in NX6.0.4
unsafe NXOpen.CustomPopupMenu NXOpen.CustomPopupMenu.AddMenu | ( | int | menuId, |
string | menuName | ||
) |
Adds and returns a menu to this menu
Created in NX6.0.4
License requirements: None.
menuId | Id of the menu |
menuName | name of the menu |
unsafe NXOpen.CustomPopupMenuItem NXOpen.CustomPopupMenu.AddMenuItem | ( | int | menuItemId, |
string | menuItemName | ||
) |
Adds and returns a menu item to this menu
Created in NX6.0.4
License requirements: None.
menuItemId | Id of the menu item |
menuItemName | name of the menu item |
unsafe void NXOpen.CustomPopupMenu.AddMenuSeparator | ( | ) |
Adds a separator in the submenu
Created in NX6.0.4
License requirements: None.
|
protected |
Frees the object from memory.
After this method is called, it is illegal to use the object. In .NET, this method is automatically called when the object is deleted by the garbage collector.
Created in NX6.0.4
License requirements: None.