Spread Windows Forms 8.0 Product Documentation
HolidayCollection Class Methods


For a list of all members of this type, see HolidayCollection members.

Public Methods
 NameDescription
Public MethodAddAdds the specified holiday to the collection.  
Public MethodAddRangeCopies the elements of the specified IHoliday array to the end of the collection.  
Public MethodClearRemoves all objects from the System.Collections.CollectionBase instance. This method cannot be overridden. (Inherited from System.Collections.CollectionBase)
Public MethodContainsReturns a value that indicates whether the specified IHoliday is a member of the HolidayCollection.  
Public MethodCopyToCopies the entire HolidayCollection to a compatible one-dimensional array of type IHoliday, starting at the specified zero-based index of the target array.  
Public MethodGetEnumeratorReturns an enumerator that iterates through the System.Collections.CollectionBase instance. (Inherited from System.Collections.CollectionBase)
Public MethodGetTypeOfDayDetermines the type of day for the specified date.  
Public MethodIndexOfSearches for the specified IHoliday and returns the zero-based index of the first occurrence within the collection.  
Public MethodInsertInserts a holiday object in the collection.  
Public MethodIsHolidayDetermines whether the specified date is a holiday.  
Public MethodRemoveRemoves the first occurrence of the specified IHoliday from the HolidayCollection.  
Public MethodRemoveAtRemoves the element at the specified index of the System.Collections.CollectionBase instance. This method is not overridable. (Inherited from System.Collections.CollectionBase)
Top
Protected Methods
 NameDescription
Protected MethodIsOverriddenDetermines whether the specified date is an overridden holiday.  
Protected MethodOnClearOverridden. Performs additional custom processes after clearing the contents of the HolidayCollection instance.  
Protected MethodOnClearCompletePerforms additional custom processes after clearing the contents of the NotifyCollection instance. (Inherited from GrapeCity.Win.Spread.InputMan.CellType.NotifyCollection)
Protected MethodOnCollectionChangedRaises the NotifyCollection.CollectionChanged event. (Inherited from GrapeCity.Win.Spread.InputMan.CellType.NotifyCollection)
Protected MethodOnInsertPerforms additional custom processes before inserting a new element into the System.Collections.CollectionBase instance. (Inherited from System.Collections.CollectionBase)
Protected MethodOnInsertCompleteOverridden. Performs additional custom processes after inserting a new element into the HolidayCollection instance.  
Protected MethodOnRemovePerforms additional custom processes when removing an element from the System.Collections.CollectionBase instance. (Inherited from System.Collections.CollectionBase)
Protected MethodOnRemoveCompleteOverridden. Performs additional custom processes after removing an element from the HolidayCollection instance.  
Protected MethodOnSetPerforms additional custom processes before setting a value in the System.Collections.CollectionBase instance. (Inherited from System.Collections.CollectionBase)
Protected MethodOnSetCompletePerforms additional custom processes after setting a value in the System.Collections.CollectionBase instance. (Inherited from System.Collections.CollectionBase)
Protected MethodOnValidatePerforms additional custom processes when validating a value. (Inherited from System.Collections.CollectionBase)
Top
See Also

Reference

HolidayCollection Class
GrapeCity.Win.Spread.InputMan.CellType Namespace

 

 


Copyright © GrapeCity, inc. All rights reserved.