Skip Headers
Oracle® Objects for OLE C++ Class Library Developer's Guide
10g Release 2 (10.2)

Part Number B14308-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Master Index
Master Index
Go to Feedback page
Contact Us

GetValue (OBound) Method

Applies To

OBound

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
Remarks

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.