Oracle® Objects for OLE C++ Class Library Developer's Guide 10g Release 2 (10.2) Part Number B14308-01 |
|
Applies To
Description
This method sets the current value of the particular element of the object.
Usage
oresult SetValue(const OValue &val, int index);
oresult SetValue(int val, int index);
oresult SetValue(long val, int index);
oresult SetValue(double val, int index);
oresult SetValue(const char *val, int index)
oresult SetValue(const char *val, int len, int index)
oresult SetValue(const OBlob &val, int index)
oresult SetValue(const OClob &val, int index)
oresult SetValue(const OBfile &val, int index)
oresult SetValue(const ORef &val, int index)
oresult SetValue(const OObject &val, int index)
oresult SetValue(const OCollection &val, int index)
Arguments
Arguments |
Description |
---|---|
val | A variable of one of a number of types, which will receive the value |
index | Specifies the array element |
These methods sets the current value of the element of the object.
Return Value
An oresult indicating whether the operation succeeded (OSUCCESS) or not (OFAILURE).