NXOpen .NET Reference Guide
1899
|
Represents Custom Popup Menu Item class More...
Public Member Functions | |
unsafe NXOpen.CustomPopupMenu | AddMenu (int menuId, string menuName) |
Adds and returns a menu to this menu More... | |
unsafe NXOpen.CustomPopupMenuItem | AddMenuItem (int menuItemId, string menuItemName) |
Adds and returns a menu item 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... | |
Public Member Functions inherited from NXOpen.TransientObject | |
void | Dispose () |
Frees the object from memory. More... | |
void | PrintTestData (String variableName) |
<exclude> More... | |
void | PrintTestData (String variableName, int lineNumber) |
<exclude> More... | |
new string | ToString () |
Returns a String that represents the current Object. More... | |
Public Member Functions inherited from NXOpen.Utilities.NXRemotableObject | |
IMessageCtrl | AsyncProcessMessage (IMessage msg, IMessageSink replySink) |
Asynchronously processes the given message. More... | |
IMessage | SyncProcessMessage (IMessage msg) |
Synchronously processes the given message. 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... | |
Additional Inherited Members | |
Properties inherited from NXOpen.TransientObject | |
IntPtr | Handle [get] |
Handle of the internal object represented by this object. More... | |
Represents Custom Popup Menu Item class
Created in NX6.0.4
|
inline |
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 |
|
inline |
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 |
|
inline |
Adds a separator in the submenu
Created in NX6.0.4
License requirements: None.
|
inlineprotectedvirtual |
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.
Implements NXOpen.TransientObject.