Version

IsOccurrenceDeleted Property (ActivityBase)

Gets or sets a value indicating whether the occurrence has been deleted.
Syntax
'Declaration
 
Public Property IsOccurrenceDeleted As Boolean
public bool IsOccurrenceDeleted {get; set;}
Remarks

Note that simply setting this property to true will not delete the occurrence. Use the XamScheduleDataManager.Remove method to remove an occurrence. Also note that the underlying occurrence will be made into a variance which will be stored in the data source. This is so the the recurring activity knows not to generate the occurrence the next time the application is run.

IsOccurrenceDeleted property's setter is meant to be called by a schedule data connector implementation to specifiy that this occurrence has been deleted when the activity is retrieved from the data source.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also