Contents

setObject

Appends an object as the last member of the array.

Declaration

bool setObject(const OSMetaClassBase *anObject);

Parameters

  • anObject:

    Object to be added as the last member of the array.

Return Value

True on success, which retains the object, or false on failure which does not retain the object.

Discussion

Appends an object as the last member of the array. The array capacity will be grown if necessary.

See Also

Accessing Elements