|
The QMGet() function gets data from an instantiated object on the server system.
The function arguments are:
| Name | is the name of a public variable or public function within the object. |
| ArgCt | is a count of arguments to be passed into the object. This argument is not present in some variants of the QMClient API. |
| Arg1... | is a series of argument values as strings. |
The example program fragments below retrieve the value of the State property in an object previously instantiated with the reference value in Objno. In this example, there are no arguments passed into the object.
char * QMGet(short int Object, char * Name, short int ArgCt, ...)
State = QMGet(Objno, "State", 0);
The arguments follow the ArgCt and must be passed as strings. Any argument values updated by the object can be retrieved using the QMGetArg() function. The returned pointer references a dynamic memory area that must be released with QMFree() when no longer needed.
|
QMGet(ByVal Object as Short, ByVal Name as String, ArgCt as Short, Optional ByRef Arg1 as String, ...) as String
State = QMGet(Objno, 'State', 0)
The arguments follow the ArgCt and must be passed as strings. Any argument values updated by the object can be retrieved using the QMGetArg() function
|
Get(Objno, Name {, Arg1, ...})
State = session->Get(Objno, 'State')
|
String QMGet(int Object, String Name, int ArgCt, String Arg1...)
State = qm.Get(Objno, "State", 0);
The arguments follow the ArgCt and must be passed as strings. Any argument values updated by the object can be retrieved using the QMGetArg() function.
|
Get(Object, Name, ArgCt, Arg1...)
State = qm.Get(Objno, "State", 0)
The arguments follow the ArgCt and must be passed as strings. Any argument values updated by the object can be retrieved using the QMGetArg() function.
|
See also:
QMCreateObject(), QMDestroyObject, QMSet
|