Oracle® Objects for OLE C++ Class Library Developer's Guide 10g Release 2 (10.2) B14308-01 |
|
Applies To
Description
OFieldCollection constructor
Usage
OFieldCollection(void)
OFieldCollection(const OField &othercoll)
Arguments
othercoll | another OFieldCollection object that you are copying |
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.