setProperty( ) method
- Last Updated: June 14, 2019
- 1 minute read
- OpenEdge
- Version 13.0
- Documentation
Sets the value of the specified JSDO user-defined property.
Return type:
null
Applies to: progress.data.JSDO class
Syntax
|
- name
- The name of a user-defined property to define in the current JSDO.
- value
- The value, if any, to set for the user-defined name property in the JSDO.
undefined), any
existing name property definition is removed from the
JSDO.Note: Any user-defined property you create with name set to
"server.count"
has a reserved usage in JSDO plugins. For more information, see the description of the
responseMapping function that you can define using the
addPlugin( ) method. Example
The following code fragment sets the "prop1" and
"prop2" user-defined properties in jsdoCustOrders to the values, "12345" and 100,
respectively:
|
See also:
addPlugin( ) method, getProperty( ) method, setProperties( ) method