GetFieldType
Description
Obtains the datatype of a field declared by a class.
Syntax
|
1 |
GetFieldType(pbclass cls, pbfieldID fid) |
|
Argument |
Description |
|---|---|
|
cls |
The class that defines the field |
|
fid |
The internal ID of the class instance |
Return value
pbint.
A simple datatype defined in the list of pbvalue_type enumerated
types, such as pbvalue_int. See PBNI enumerated
types.
Examples
This statement gets the type of the specified field ID:
|
1 |
pbint pbfieldType = session->GetFieldType(cls, fid); |
See also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest