Destroy

PowerBuilder Native Interface

IPBX_UserObject interface:

Destroy method

Description

Destroys the current instance of a PowerBuilder native class that inherits from IPBX_UserObject.

Syntax

Destroy( )

Return Values

None.

Examples

This example shows how you would call Destroy for the class MyPBNIClass:

void MyPBNIClass::Destroy()
{
   delete this;
}

Usage

You must implement this method in the native class after creating an instance of the class and invoking remote methods.

See Also

Invoke