Developer

API Reference

IvCalObject_AddProperty()

Brew Release
Brew MP 1.0.2
See Also
IvCalObject_RemoveProperty
Description
Adds a property to IvCalObject
Parameters
  • pIvCalObeject
    []:
    Interface pointer
  • pIvProperty
    []:
    The property that has to be added
Interface
Prototype
   int IvCalObject_AddProperty(IvCalObject  *pIvCalObeject,
                               IvProperty   *pIvProperty);
Return
AEE_SUCCESS : If we are successful in adding the property AEE_EBADPARM : If pIvProperty is invalid AEE_EFAILED : Otherwise
Side Effect
The added property reference count is incremented
Comment
The application should set first the VERSION property on the component to better validate the grammar. The API returns AEE_EBADPARM in case the property specified is invalid. For e.g. DTSTART can't occur more than once if user tries to again insert DTSTART we return AEE_EBADPARM.
  • Follow