Oracle Objects for OLE C++ Class Library
Release 9.0.1

Part Number A90172-01

Home

Book List

Contents

Master Index

Feedback

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.


 
Oracle
Copyright © 1996-2001, Oracle Corporation.

All Rights Reserved.

Home

Book List

Contents