Using SmartObjects in Code

You can work with SmartObjects from custom code in the following ways: