M-Files UI Extensibility Framework
CreateObjectCLR Method
ICommonFunctions Interface : CreateObjectCLR Method
The assembly from where the class is looked up. E.g. "myassembly.dll". The assembly is relative to the current application folder.
The object class to instantiate. E.g. "MyNamespace.MyClass".
Description
Creates a managed object from a class in managed assembly.
Syntax
Visual Basic
Public Function CreateObjectCLR( _
   ByVal assemblyFile As String, _
   ByVal className As String _
) As Object
Parameters
assemblyFile
The assembly from where the class is looked up. E.g. "myassembly.dll". The assembly is relative to the current application folder.
className
The object class to instantiate. E.g. "MyNamespace.MyClass".
Return Type
The managed object.
Remarks

See the Using Managed Assemblies with UI Extensibility Applications techical article for more details.

Supported in M-Files 10.1.3915.45 and newer.

See Also

ICommonFunctions Interface  | ICommonFunctions Members