COM::createFromObject Method [AX 2012]
Creates an instance of the COM class by using the specified COM object.
client server public static COM createFromObject(COM object)
Run On
CalledParameters
- object
- Type: COM Class
The instance of the COM class to use to create the new instance of the COM class.
Return Value
Type: COM ClassAn instance of the COM class for the COM object that is specified by the object parameter; nullNothingnullptrunita null reference (Nothing in Visual Basic) if the instance of the COM class could not be created.
Show: