interface XImplicitIDContainer in module com::sun::star::container::

(Global Index)

Syntax

interface XImplicitIDContainer : com::sun::star::container::XImplicitIDReplace ;

Description

makes it possible to insert and remove elements in/from a container using an implicit (unique) ID.

Method Summary

addWithImplicitID adds a new object to the container and generates an implicit (unique) ID for this object.

removeByImplicitID removes an object from the container which is specified by an implicit (unique) identifier.

Method Details



addWithImplicitID

Syntax

string addWithImplicitID (
any aElement );

Description

adds a new object to the container and generates an implicit (unique) ID for this object.

Returns

the implicit ID for the new object.

removeByImplicitID

Syntax

void removeByImplicitID (
string ID )
raises ( com::sun::star::container::NoSuchElementException );

Description

removes an object from the container which is specified by an implicit (unique) identifier.

Top of Page