Oracle Objects for OLE
Release 9.2

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

Master Index

Feedback

ElementValue Method

Applies To

OraCollection

Description

Returns the current value of the collection element that the iterator points to.

Usage

elem_val = OraCollection.ElementValue

Arguments

elem_val
A Variant representing element value of the collection.
Remarks

Calling this method when the EOC or BOC property returns TRUE raises an error. The Variant type of the element depends on the element type of the collection. For elements of type Objects and REFs, element values are returned as corresponding OO4O objects for that type. The following table shows the element type and return value of the elements:

ElementType
Element Value
Object
OraObject
REF
OraRef
Date
String
Number
String
CHAR,VARCHAR2
String
Real
Real
Integer
Integer

See also IterNext and IterPrev.

Example: Collection Iterator


 
Oracle
Copyright © 1994, 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