BBjNamespace::setValue
Description
In BBj 3.0 and higher, this method sets the syntax value of a named object within this BBjNamespace.
Syntax
Return Value |
Method |
---|---|
void |
setValue(string name, Object value) |
void |
setValue(string name, Object value, long timeoutMillis) |
Parameters
Variable |
Description |
---|---|
name |
Specifies the name of the named object. |
value |
Specifies the value of the named object. |
timeoutMillis |
Time in milliseconds to wait if requested Object is currently locked. |
Return Value
None.
Remarks
setValue(name, value) is equivalent to setValue(name, value, 20). If the requested Object is currently locked by another BBjNamespace then this version of setValue() will wait up to timeoutMillis milliseconds for the lock to release. If the lock is still in effect after that time, then an error LOCKED will be generated.
Example
|
See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.