Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.10

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: star :: sdbcx ::

interface XDrop
Description
provides methods to remove an element of its container and to drop it from the related database.

Methods' Summary
dropByName drops an object of the related container identified by its name.  
dropByIndex drops an object of the related container identified by its position.  
Methods' Details
dropByName
void
dropByName( [in] string  elementName )
raises( ::com::sun::star::sdbc::SQLException,
::com::sun::star::container::NoSuchElementException );

Description
drops an object of the related container identified by its name.
Parameter elementName
the name of the element to be dropped
Throws
com::sun::star::sdbc::SQLException if a database access error occurs.
dropByIndex
void
dropByIndex( [in] long  index )
raises( ::com::sun::star::sdbc::SQLException,
::com::sun::star::lang::IndexOutOfBoundsException );

Description
drops an object of the related container identified by its position.
Parameter index
the position of the element to be dropped
Throws
com::sun::star::sdbc::SQLException if a database access error occurs.
Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.