Class CalendarExceptionCollection

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

objectCalendarExceptionCollection

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

int

ParentCalendar

Gets the parent calendar for this object.

public Calendar ParentCalendar { get; }

Property Value

Calendar

this[int]

Returns the element at the specified index.

public CalendarException this[int index] { get; set; }

Property Value

CalendarException

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&gt;

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&gt;

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

bool

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<CalendarException&gt;

List of Aspose.Tasks.CalendarException objects. </calendarexception></calendarexception></calendarexception></calendarexception>