Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

DotNetAssembly object – PB Docs 2019 – PowerBuilder Library

DotNetAssembly object – PB Docs 2019

DotNetAssembly object

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.

Properties

DotNetAssembly property

Datatype

Description

ClassDefinition

PowerObject

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

ErrorText

String

Stores the error message if
LoadWithDotNetFramework, LoadWithDotNetCore, or CreateInstance
functions return a value other than 1.

Events

DotNetAssembly event

Occurs

Constructor

Immediately before the Open event occurs in the
window.

Destructor

Immediately after the Close event occurs in the
window.

Functions

DotNetAssembly function

Datatype returned

Description

ClassName

String

Returns the name assigned to the
object.

CreateInstance

Integer

Creates an instance of the .NET object and
associates it with the DotNetObject object.

GetContextService

Integer

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

GetDotNetCoreVersion

String

Gets the version number of the .NET Core
runtime.

GetParent

PowerObject

Returns a reference to the name of the parent
object.

LoadWithDotNetFramework

Integer

Loads a .NET framework assembly.

LoadWithDotNetCore

Integer

Loads a .NET Core assembly.

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.


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x