Destroy

PowerBuilder Native Interface

IPBX_Marshaler interface:

Destroy method

Description

Use the Destroy method to destroy instances of objects inherited from the IPBX_Marshaler structure.

Syntax

Destroy( )

Return Values

None.

Examples

This code destroys the current instance of the SampleMarshaler structure:

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

Usage

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

See Also