GetNumOfFields

PowerBuilder Native Interface

IPB_Session interface:

GetNumOfFields method

Description

Returns the number of fields in the specified class.

Syntax

GetNumOfFields(pbclass cls)

Argument

Description

cls

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

Return Values

pbulong.

Examples

This code gets the numbers of fields in the class clz:

pbclass clz = d_session->GetClass(d_pbobj);
pbulong nf = d_session->GetNumOfFields(clz);

See Also