RecurrenceByMonth Property
This is used to modify the BYMONTH rule of a recurrence
Namespace: EWSoftware.PDIAssembly: EWSoftware.PDI (in EWSoftware.PDI.dll) Version: 2023.1.2.0
public UniqueIntegerCollection ByMonth { get; }
Public ReadOnly Property ByMonth As UniqueIntegerCollection
Get
public:
property UniqueIntegerCollection^ ByMonth {
UniqueIntegerCollection^ get ();
}
member ByMonth : UniqueIntegerCollection with get
Property Value
UniqueIntegerCollection The collection contains a set of unique integer values representing month values from 1 to
12.
Recurrence r = new Recurrence();
// Set the properties
r.Frequency = RecurFrequency.Monthly;
r.StartDateTime = DateTime.Today;
r.Count = 20;
r.ByMonth.AddRange(new int[] { 1, 5, 10 });
// Get all instances generated by the recurrence
DateTimeCollection dc = r.AllInstances();
Dim r As New Recurrence()
' Set the properties
r.Frequency = RecurFrequency.Monthly
r.StartDateTime = DateTime.Today
r.Count = 20
r.ByMonth.AddRange(New Integer() { 1, 5, 10 })
' Get all instances generated by the recurrence
Dim dc As DateTimeCollection = r.AllInstances()
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.