Skip Headers

Oracle® Objects for OLE C++ Class Library Developer's Guide
10g Release 1 (10.1)

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

OFieldCollection Method

Applies To

OFieldCollection

Description

OFieldCollection constructor

Usage

OFieldCollection(void)

OFieldCollection(const OField &othercoll)

Arguments

othercoll
another OFieldCollection object that you are copying
Remarks

These methods construct a new OFieldCollection instance.

Constructing an OFieldCollection does not create any fields or OField objects.

The default constructor constructs an unopened OFieldCollection object. It cannot fail.

The copy constructor copies another OFieldCollection object. If that other OFieldCollection object is open - which means it is a handle on an implementation FieldCollection object - the new OFieldCollection object becomes a handle to that same FieldCollection object. The copy constructor can fail; check whether the new OFieldCollection is open after the constructor call.

There is no Open method for the OFieldCollection class. To get an open OFieldCollection, call one of the GetFields methods.