NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

RecurrencePatterns Methods

The methods of the RecurrencePatterns class are listed below. For a complete list of RecurrencePatterns class members, see the RecurrencePatterns Members topic.

Public:

Add Adds a new recurrence pattern to the collection.
AddDailyPattern Overloaded. Adds a DailyPattern.
AddDaysOfMonthPattern Overloaded. Adds a DaysOfMonthPattern, given a set of days in a month, and a set of months in a year.
AddMonthlyPattern Overloaded. Adds a MonthlyPattern, given the set of days in a week, the set of occurrence numbers in a month, and the set of months in a year.
AddWeeklyPattern Overloaded. Adds a WeeklyPattern, given the sets of days in the week, and the weekly interval.
Clear Clears the contents of the collection.
Equals (inherited from Object) Determines whether the specified Object is the same instance as the current Object. Subclasses are expected to override this method to support value equality (not reference equality).
GetEnumerator Returns an enumerator, which can be used to iterate through the collection.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetTimeOfNextOccurrence Returns the next time to raise the event.
GetType (inherited from Object) Gets the Type of the Object.
Remove Overloaded. Removes the specified recurrence pattern.
Rename Renames a recurrence pattern in the collection.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected:

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by the Garbage Collector (GC). This method may be ignored by the runtime; therefore, necessary cleanup operations should be done elsewhere.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

RecurrencePatterns Class | System.Timers Namespace