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

(Global Index)

Syntax

interface XSet : com::sun::star::container::XEnumerationAccess ;

Description

This is the generic interface for supporting the insertion and removal of elements.

See also

XContainer

Method Summary

has

insert inserts the element in the container.

remove removes the element at the position of the enumeration object.

Method Details



has

Syntax

boolean has (
any Element );

Description

Returns

true> if the element exists, otherwise false .

insert

Syntax

void insert (
any aElement )
raises ( com::sun::star::lang::IllegalArgumentException , com::sun::star::container::ElementExistException );

Description

inserts the element in the container.


remove

Syntax

void remove (
any aElement )
raises ( com::sun::star::lang::IllegalArgumentException , com::sun::star::container::NoSuchElementException );

Description

removes the element at the position of the enumeration object.

Top of Page