DotNetObject object

The DotNetObject object is associated with the .NET object and calls .NET object's functions/properties directly.

Note

This object cannot be referenced in .NET Web Service or .NET Assembly components, otherwise the component will fail to be deployed.

Properties

DotNetObject property

Datatype

Description

handle

longptr

The handle of the object.

ClassDefinition

PowerObject

An object of type PowerObject containing information about the class definition of the object or control.


Events

DotNetObject event

Occurs

Constructor

Immediately before the Open event occurs in the window.

Destructor

Immediately after the Close event occurs in the window.


Functions

DotNetObject function

Datatype returned

Description

ClassName

String

Returns the name assigned to the object.

GetContextService

Integer

Creates a reference to a context-specific instance of the specified service.

GetParent

PowerObject

Returns a reference to the name of the parent object.

PostEvent

Boolean

Adds an event to the end of the message queue for the object.

TriggerEvent

Integer

Triggers a specified event in the object and executes the script for the event.

TypeOf

Object

Returns the object type of the object.