Oracle® Objects for OLE C++ Class Library Developer's Guide 10g Release 1 (10.1) Part Number B10119-01 |
|
Applies To
Description
OParameterCollection constructor
Usage
OParameterCollection(void)
OParameterCollection(const OParameterCollection &othercoll)
Arguments
othercoll |
another OParameterCollection object that you are copying |
These methods construct a new OParameterCollection instance.
Constructing an OParameterCollection does not create any parameters, or OParameter objects.
The default constructor constructs an unopened OParameterCollection object. It cannot fail.
The copy constructor copies another OParameterCollection object. If that other OParameterCollection object is open - which means that it is a handle on an implementation parameter collection object - the new OParameterCollection object becomes a handle to that same parameter collection object. The copy constructor can fail; check whether the new OParameterCollection is open after the constructor call.
There is no Open method for the OParameterCollection class. To get an open OParameterCollection, call the GetParameters method.