Edit

Share via


RecurrencePattern.MonthOfYear Property

Definition

Returns or sets an Integer (int in C#) value indicating which month of the year is valid for the specified recurrence pattern. Read/write.

public:
 property int MonthOfYear { int get(); void set(int value); };
public int MonthOfYear { get; set; }
Public Property MonthOfYear As Integer

Property Value

Remarks

The value can be a number from 1 through 12. For example, setting this property to 5 and the RecurrenceType property to olRecursYearly would cause this recurrence pattern to occur every May. This property is only valid for recurrence patterns whose RecurrenceType property is set to olRecursYearly or olRecursYearNth.

Applies to