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

(Global Index)

Syntax

interface XIdentifierReplace : com::sun::star::container::XIdentifierAccess ;

Description

This is the generic interface for supporting the replacement of elements with unique identifiers.

Method Summary

replaceByIdentifer replaces the element with the specified identifier.

Method Details



replaceByIdentifer

Syntax

void replaceByIdentifer (
long Identifier,
any aElement )
raises ( com::sun::star::lang::IllegalArgumentException , com::sun::star::container::NoSuchElementException , com::sun::star::lang::WrappedTargetException );

Description

replaces the element with the specified identifier.

Parameter Identifier

specifies the identifier of the element that should be retrieved.

Parameter aElement

the new element that replaces the old element for the specified identifier.

Throws

com::sun::star::lang::IllegalArgumentException If the argument is not valid for this container.

Throws

com::sun::star::lang::NoSuchElementException If the identifier is not existing.

Throws

com::sun::star::lang::WrappedTargetException If the implementation has internal reasons for exceptions, then wrap these in a WrappedTargetException exception.
Top of Page