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