Overview | Module | Use | Devguide | Index

Methods' Summary | Methods' Details | Attributes' Summary | Attributes' Details

:: com :: sun :: star :: beans ::
interface XPropertyContainer
  Base Hierarchy
      ::com::sun::star::uno::XInterface
       |
       +-XPropertyContainer
Description makes it possible to add and remove properties to or from an object. Some scripting engines cannot access properties directly when the property set is changed. Please use XPropertySet::getPropertyValue etc. in this case. Developers Guide 14.2 Universal Content Broker - Services and Interfaces

Methods' Summary
addProperty | adds a property to the object.
removeProperty | removes a property from the object.

Methods' Details
addProperty
void addProperty( | [in] string [in] short [in] any raises( | Name, Attributes, DefaultValue ) PropertyExistException, IllegalTypeException, ::com::sun::star::lang::IllegalArgumentException );
Description adds a property to the object. Parameter aName specifies the name of the new property. Parameter xType specifies the type of the new property. Throws PropertyExistException if a property with the same name already exists. Throws IllegalTypeException if the specified type is not allowed. See also PropertyAttribute
removeProperty
void removeProperty( | [in] string raises( | Name ) UnknownPropertyException, NotRemoveableException );
Description removes a property from the object. Parameter aName specified the name of the property. Throws UnknownPropertyException if the property does not exist.

Top of Page

Copyright © 2003 Sun Microsystems, Inc.