NXOpen .NET Reference Guide  1899
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
Public Member Functions | Protected Member Functions | List of all members
NXOpen.CustomPopupMenu Class Reference

Represents Custom Popup Menu Item class More...

Inheritance diagram for NXOpen.CustomPopupMenu:
NXOpen.CustomPopupMenuItem NXOpen.TransientObject NXOpen.Utilities.NXRemotableObject IDisposable IMessageSink

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...
 

Detailed Description

Represents Custom Popup Menu Item class

Created in NX6.0.4

Member Function Documentation

unsafe NXOpen.CustomPopupMenu NXOpen.CustomPopupMenu.AddMenu ( int  menuId,
string  menuName 
)
inline

Adds and returns a menu to this menu

Created in NX6.0.4

License requirements: None.

Parameters
menuIdId of the menu
menuNamename of the menu
Returns
menu
unsafe NXOpen.CustomPopupMenuItem NXOpen.CustomPopupMenu.AddMenuItem ( int  menuItemId,
string  menuItemName 
)
inline

Adds and returns a menu item to this menu

Created in NX6.0.4

License requirements: None.

Parameters
menuItemIdId of the menu item
menuItemNamename of the menu item
Returns
menu item
unsafe void NXOpen.CustomPopupMenu.AddMenuSeparator ( )
inline

Adds a separator in the submenu

Created in NX6.0.4

License requirements: None.

override void NXOpen.CustomPopupMenu.FreeResource ( )
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.


The documentation for this class was generated from the following file:
Copyright 2019 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.