Oracle Objects for OLE C++ Class Library
Release 9.2

Part Number A95896-01
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents

Master Index

Feedback

GetValue (OCollection) Method

Applies To

OCollection

Description

Returns the current value of the specified collection element.

Usage

OValue GetValue(int index) const throw(OException)

void GetValue(int index, OValue *val) const throw(OException)

void GetValue(int index, int *val) const throw(OException)

void GetValue(int index, long *val) const throw(OException)

void GetValue(int index, double *val) const throw(OException)

void GetValue(int index, char *val, unsigned short maxlen) const throw(OException)

void GetValue(int index, OObject *val) const throw(OException)

void GetValue(int index, Oref *val) const throw(OException)

Arguments
Description
index
An integer specifying the index of the element.
val
A variable, of one of a number of types, that will receive the value of the specified object.
maxlen
The maximum number of bytes that can be placed in val.
Remarks

The length indicated by maxlen should include one byte for a null terminator which is automatically added in the last byte of the buffer.


 
Oracle
Copyright © 1998, 2002 Oracle Corporation.

All Rights Reserved.
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents

Master Index

Feedback