GetType
Description
Returns the datatype of a single data item or array.
Syntax
|
1 |
GetType() |
Return value
pbuint
Examples
|
1 2 3 4 5 6 7 8 9 10 11 |
ArgsType = ci->pArgs->GetAt(i)->GetType(); switch (ArgsType) { case pbvalue_int: if (ci->pArgs->GetAt(i)->IsNull()) pArguments[i].int_val=1; else pArguments[i].int_val = ci->pArgs->GetAt(i)->GetInt(); break; ... |
Usage
If the IPB_Value instance contains an object or structure,
GetType returns the class ID of the data. Otherwise, it returns a simple
datatype defined in the list of pbvalue_type enumerated types.
See also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest