IsFieldObject

PowerBuilder Native Interface

IPB_Session interface:

IsFieldObject method

Description

Returns true if the field of the specified object is an object; otherwise it returns false.

Syntax

IsFieldObject(pbclass cls, pbfield fid)

Argument

Description

cls

A valid class handle for the class whose field is to be accessed

fid

The field ID of the specified object

Return Values

pbboolean.

Examples

These statements test whether the field identified by fid is an object:

fid = session -> GetFieldID(cls, "obj_val");
if (session -> IsFieldObject(myobj, fid))

See Also