IPB_Session interface:
GetFieldType method
Description
Obtains the datatype of a field declared by a class.
Syntax
|
1 |
GetFieldType(pbclass <span>cls</span>, pbfieldID <span>fid</span>) |
|
Argument |
Description |
|---|---|
|
cls |
The class that defines the field |
|
fid |
The internal ID of the class instance |
Return Values
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