Constructor & Destructor

You design VB .NET constructors and destructors by clicking the AddDefault Constructor/Destructor button in the list of operations of a class. This automatically creates a constructor called New with the Constructor stereotype, and a destructor called Finalize with the Destructor stereotype. Both constructor and destructor are grayed out in the list, which means you cannot modify their definition, but you can still remove them from the list.


Created October 7, 2009. Send feedback on this help topic to Sybase Technical Publications: pubs@sybase.com