The DotNetAssembly object loads the .NET assembly and creates an instance for the .NET object.
Note
This object cannot be referenced in .NET Web Service or .NET Assembly components, otherwise the component will fail to be deployed.
DotNetAssembly property |
Datatype |
Description |
---|---|---|
ClassDefinition |
PowerObject |
An object of type PowerObject containing information about the class definition of the object or control. |
String |
Stores the error message if LoadWithDotNetFramework, LoadWithDotNetCore, or CreateInstance functions return a value other than 1. |
DotNetAssembly event |
Occurs |
---|---|
Immediately before the Open event occurs in the window. |
|
Immediately after the Close event occurs in the window. |
DotNetAssembly function |
Datatype returned |
Description |
---|---|---|
String |
Returns the name assigned to the object. |
|
Integer |
Creates an instance of the .NET object and associates it with the DotNetObject object. |
|
Integer |
Creates a reference to a context-specific instance of the specified service. |
|
String |
Gets the version number of the .NET Core runtime. |
|
PowerObject |
Returns a reference to the name of the parent object. |
|
Integer |
Loads a .NET framework assembly. |
|
Integer |
Loads a .NET Core assembly. |
|
Boolean |
Adds an event to the end of the message queue for the object. |
|
Integer |
Triggers a specified event in the object and executes the script for the event. |
|
Object |
Returns the object type of the object. |