Oracle® Objects for OLE C++ Class Library Developer's Guide 10g Release 1 (10.1) Part Number B10119-01 |
|
Applies To
Description
This method gets the current value of the object.
Usage
oresult GetValue(OValue *val)
Arguments
val |
An OValue variable that will receive the value |
This is a protected OBound method. It is called only by subclasses of the OBound class. It can be called at any time by a subclass method to obtain the current value of the field to which the instance is bound.
The most common case when an instance needs a value is when it is being Refreshed. In this case the value is handed to it. See Refresh (OBound).
Return Value
An oresult indicating whether the operation succeeded (OSUCCESS) or not (OFAILURE).
Example
Please see the Workbook (bound.htm
) for the example "OBound of a variable." That example works through the implementation of a subclass of OBound.