box Summary Boxes an external object to give it an internal type. Usage public BoxedExternal box(external object) Returns The internally-typed boxed representation of the external object. Parameters object The external object to box. Description Boxes an external object to give it an internal type. Examples Basic Usage 12345import System; var obj = {};BoxedExternal boxed = new BoxedExternal();boxed.box(obj); Changing the boxed object at runtime 123456import System; var obj1 = {}, obj2 = {};BoxedExternal boxed = new BoxedExternal();boxed.box(obj1);boxed.box(obj2); Share HTML | BBCode | Direct Link