RecurrenceBy Month Day Property
This is used to modify the BYMONTHDAY rule of a recurrence
Definition
Namespace: EWSoftware.PDI
Assembly: EWSoftware.PDI (in EWSoftware.PDI.dll) Version: 2025.1.9.0
Assembly: EWSoftware.PDI (in EWSoftware.PDI.dll) Version: 2025.1.9.0
C#
public UniqueIntegerCollection ByMonthDay { get; }VB
Public ReadOnly Property ByMonthDay As UniqueIntegerCollection
GetC++
public:
property UniqueIntegerCollection^ ByMonthDay {
UniqueIntegerCollection^ get ();
}F#
member ByMonthDay : UniqueIntegerCollection with getProperty Value
UniqueIntegerCollectionRemarks
The collection contains a set of unique integer values representing day number values from
-31 to +31 excluding zero. Negative values specify a day number from the end of the month. Positive
values specify a day number from the start of the month.
Example
C#
Recurrence r = new Recurrence();
// Set the properties
r.Frequency = RecurFrequency.Monthly;
r.StartDateTime = DateTime.Today;
r.Count = 20;
r.ByMonthDay.AddRange(new int[] { 1, 10, 15, -1, -5, -25 });
// Get all instances generated by the recurrence
DateTimeCollection dc = r.AllInstances();VB
Dim r As New Recurrence()
' Set the properties
r.Frequency = RecurFrequency.Monthly
r.StartDateTime = DateTime.Today
r.Count = 20
r.ByMonthDay.AddRange(New Integer() { 1, 10, 15, -1, -5, -25 })
' Get all instances generated by the recurrence
Dim dc As DateTimeCollection = r.AllInstances()C++
No code example is currently available or this language may not be supported.F#
No code example is currently available or this language may not be supported.