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

(Global Index)

Syntax

interface XIndexContainer : com::sun::star::container::XIndexReplace ;

Description

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

See also

XContainer

Method Summary

insertByIndex inserts the element at the specified index.

removeByIndex removes the element at the specified index.

Method Details



insertByIndex

Syntax

void insertByIndex (
long Index,
any Element )
raises ( com::sun::star::lang::IllegalArgumentException , com::sun::star::lang::IndexOutOfBoundsException , com::sun::star::lang::WrappedTargetException );

Description

inserts the element at the specified index.

To append an element, use the index "last index +1".


removeByIndex

Syntax

void removeByIndex (
long Index )
raises ( com::sun::star::lang::IndexOutOfBoundsException , com::sun::star::lang::WrappedTargetException );

Description

removes the element at the specified index.

Top of Page