Routines (alphabetical) > Object Classes > Miscellaneous Object Classes > IDL_Container::Init

# IDL_Container::Init

The IDL_Container::Init function method initializes the container object.

Note: Init methods are special lifecycle methods, and as such cannot be called outside the context of object creation. This means that in most cases, you cannot call the Init method directly. There is one exception to this rule: if you write your own subclass of this class, you can call the Init method from within the Init method of the subclass.

## Syntax

Obj = OBJ_NEW('IDL_Container')

or

Result = Obj->[IDL_Container::]Init( ) (In a lifecycle method only.)

## Return Value

Returns 1 if the object was successfully created, or 0 otherwise.

## Arguments

None.

## Keywords

None.

## Version History

5.0 | Introduced