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

(Global Index)

Syntax

interface XNameContainer : com::sun::star::container::XNameReplace ;

Description

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

See also

XContainer

Method Summary

insertByName inserts the element at the specified name.

removeByName removes the element with the specified name.

Method Details



insertByName

Syntax

void insertByName (
string aName,
any aElement )
raises ( com::sun::star::lang::IllegalArgumentException , com::sun::star::container::ElementExistException , com::sun::star::lang::WrappedTargetException );

Description

inserts the element at the specified name.


removeByName

Syntax

void removeByName (
string Name )
raises ( com::sun::star::container::NoSuchElementException , com::sun::star::lang::WrappedTargetException );

Description

removes the element with the specified name.

Top of Page