Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

GetFieldID – PB Docs 2022 – PowerBuilder Library

GetFieldID – PB Docs 2022

GetFieldID

Description

Obtains the internal ID of a class instance variable.

Syntax

Argument

Description

cls

The class in which the field resides

fieldName

The instance member name, in
lowercase

Return value

pbfieldID or 0xffff if a field ID cannot be found.

Examples

This function obtains the identifier of a class’s visible field,
if it exists, and uses it to set the value of the field:

Usage

GetFieldID is one of a set of functions that allows native code to
access the fields of Java objects and get and set their values. You use
GetFieldID to retrieve the value of a field, specifying the class name
and the field name. The field ID returned can be used as an argument to
the related functions.

See also

GetFieldType

Get<type>Field

GetNumOfFields

IsFieldArray

IsFieldNull

IsFieldObject

Set<type>Field

SetFieldToNull


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x