API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

IVCALOBJECT_ADDPROPERTY()

Brew Release
Brew MP 1.0.2
See Also
IvCalObject_RemoveProperty
Description
Adds a property to IvCalObject
Params
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
Comments
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.