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

(Global Index)

Syntax

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

Description

provides access to the elements of a collection through a unique identifier.

Method Summary

getByIdentifier

getIdentifiers

Method Details



getByIdentifier

Syntax

any getByIdentifier (
long Identifierr )
raises ( com::sun::star::container::NoSuchElementException , com::sun::star::lang::WrappedTargetException );

Returns

the element with the specified identifier

Parameter Identifier

specifies the identifier of the element that should be retrieved.

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.

getIdentifiers

Syntax

sequence< long > getIdentifiers ();

Returns

a sequence of all identifiers in this container.

The order of the identifiers is not specified.

Top of Page