Class RecurrenceInfo
Class representing the recurrence of an appointment booking
Implements
Inherited Members
Namespace: SuperOffice.CRM.Services
Assembly: SoCore.dll
Syntax
[DataContract(Namespace = "http://www.superoffice.net/ws/crm/NetServer/11.7.0.0")]
public class RecurrenceInfo : ICloneable
Constructors
RecurrenceInfo()
Class representing the recurrence of an appointment booking
Declaration
public RecurrenceInfo()
Properties
Dates
List of all dates where this recurrence occurs
Declaration
[DataMember]
public RecurrenceDate[] Dates { get; set; }
Property Value
| Type | Description |
|---|---|
| RecurrenceDate[] |
DayPattern
Pattern describing a daily recurrence Only set when the recurrence pattern i daily. Daily
Declaration
[DataMember]
public RecurrenceDayPattern DayPattern { get; set; }
Property Value
| Type | Description |
|---|---|
| RecurrenceDayPattern |
EndDate
End date of the repetition pattern Only used when the end is calculated from a end date. EndDate
Declaration
[DataMember]
[TimeZoneHint(TimeZoneInterpretation.SalesBaseTime, TimeZoneDiaryAdjustment.DiaryTimezone)]
public DateTime EndDate { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime |
IsRecurrence
Get a or set IsRecurrence, indicating if this is a repeating appointment or not.
Declaration
[DataMember]
public bool IsRecurrence { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
MonthPattern
Pattern describing a daily recurrence Only set when the recurrence pattern i monthly. Monthly
Declaration
[DataMember]
public RecurrenceMonthPattern MonthPattern { get; set; }
Property Value
| Type | Description |
|---|---|
| RecurrenceMonthPattern |
Pattern
The recurrence pattern (Daily, Weekly, Monthly, Yearly, Custom)
Declaration
[DataMember]
public RecurrencePattern Pattern { get; set; }
Property Value
| Type | Description |
|---|---|
| RecurrencePattern |
RecurrenceCounter
Number of recurrences Only used when the end is calculated from a number of repetitions. Counter
Declaration
[DataMember]
public int RecurrenceCounter { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
RecurrenceEndType
Type defining how the end of the recurrence sequence should be calculated
Declaration
[DataMember]
public RecurrenceEndType RecurrenceEndType { get; set; }
Property Value
| Type | Description |
|---|---|
| RecurrenceEndType |
RecurrenceId
The recurrence rule id
Declaration
[DataMember]
public int RecurrenceId { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
StartDate
Start date of the repetition pattern
Declaration
[DataMember]
[TimeZoneHint(TimeZoneInterpretation.SalesBaseTime, TimeZoneDiaryAdjustment.DiaryTimezone)]
public DateTime StartDate { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime |
WeekPattern
Pattern describing a daily recurrence Only set when the recurrence pattern i weekly. Weekly
Declaration
[DataMember]
public RecurrenceWeekPattern WeekPattern { get; set; }
Property Value
| Type | Description |
|---|---|
| RecurrenceWeekPattern |
YearPattern
Pattern describing a daily recurrence Only set when the recurrence pattern i yearly. Yearly
Declaration
[DataMember]
public RecurrenceYearPattern YearPattern { get; set; }
Property Value
| Type | Description |
|---|---|
| RecurrenceYearPattern |
Methods
Clone()
Class representing the recurrence of an appointment booking
Declaration
public object Clone()
Returns
| Type | Description |
|---|---|
| object |
ToString(string)
Class representing the recurrence of an appointment booking
Declaration
public string ToString(string prefix)
Parameters
| Type | Name | Description |
|---|---|---|
| string | prefix |
Returns
| Type | Description |
|---|---|
| string |