Class CalendarExceptionCollection
Namespace: Aspose.Tasks
Assembly: Aspose.Tasks.dll (25.2.0)
Represents a collection of Aspose.Tasks.CalendarException objects.
public class CalendarExceptionCollection : IList<calendarexception>, ICollection<calendarexception>, IEnumerable<calendarexception>, IEnumerable
Inheritance
object ← CalendarExceptionCollection
Implements
IList<calendarexception>, ICollection<calendarexception>, IEnumerable<calendarexception>, IEnumerable
Inherited Members
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Properties
Count
Gets the number of objects contained in this Aspose.Tasks.CalendarExceptionCollection object.
public int Count { get; }
Property Value
ParentCalendar
Gets the parent calendar for this object.
public Calendar ParentCalendar { get; }
Property Value
this[int]
Returns the element at the specified index.
public CalendarException this[int index] { get; set; }
Property Value
Methods
Add(CalendarException)
Adds CalendarException instance to this collection object.
public void Add(CalendarException item)
Parameters
item
CalendarException
The item to add.
AddRange(IEnumerable<calendarexception>)
Adds range of exceptions to the internal list.
public void AddRange(IEnumerable<calendarexception> exceptionList)
Parameters
exceptionList
IEnumerable<CalendarException>
Range of exceptions to add.
Clear()
Removes all items from the Aspose.Tasks.CalendarExceptionCollection.
public void Clear()
GetEnumerator()
Returns an enumerator for this collection.
public IEnumerator<calendarexception> GetEnumerator()
Returns
IEnumerator<CalendarException>
an enumerator for this collection.
Remove(CalendarException)
Removes Aspose.Tasks.CalendarException instance from this collection.
public bool Remove(CalendarException item)
Parameters
item
CalendarException
The item to remove.
Returns
true if the specified exception was removed successfully.
ToList()
Converts the CalendarExceptionCollection object to a list of Aspose.Tasks.CalendarException objects.
public List<calendarexception> ToList()
Returns
List of Aspose.Tasks.CalendarException objects. </calendarexception></calendarexception></calendarexception></calendarexception>