IPB_Value interface

PowerBuilder Native Interface

IPB_Value interface

Description

The IPB_Arguments and IPB_Value interfaces pass values between the PowerBuilder VM and PowerBuilder extension modules. Through the IPB_Value interface, you can access information about each variable, including its type, null flag, access privileges, array or simple type, and reference type.

Methods

Table 7-4: IPB_Value methods

Method

Description

Get<type>

Set of datatype-specific methods that return a pointer to the data in IPB_Value

GetClass

Returns the class handle of a PowerBuilder object

GetType

Returns the datatype of a single data item or array

IsArray

Returns true if the IPB_Value instance contains an array, otherwise returns false

IsByRef

Returns true if the IPB_Value instance is passed by reference

IsEnum

Returns true if the IPB_Value instance contains a null value, otherwise returns false

IsObject

Returns true if the IPB_Value instance contains an object or object array, otherwise returns false

SetToNull

Used to set the data contained in the IPB_Value instance to null so that data can be reset

Set<type>

Set of datatype-specific methods that set the value of the IPB_Value instance