Class CalendarExceptionCollection
Namespace: Aspose.Tasks
Assembly: Aspose.Tasks.dll (25.2.0)
Reprezentuje kolekcję obiektów Aspose.Tasks.CalendarException.
public class CalendarExceptionCollection : IList<calendarexception>, ICollection<calendarexception>, IEnumerable<calendarexception>, IEnumerable
Dziedziczenie
object ← CalendarExceptionCollection
Implementuje
IList<calendarexception>, ICollection<calendarexception>, IEnumerable<calendarexception>, IEnumerable
Członkowie dziedziczeni
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Właściwości
Count
Zwraca liczbę obiektów zawartych w tym obiekcie Aspose.Tasks.CalendarExceptionCollection.
public int Count { get; }
Wartość właściwości
ParentCalendar
Zwraca kalendarz nadrzędny dla tego obiektu.
public Calendar ParentCalendar { get; }
Wartość właściwości
this[int]
Zwraca element o podanym indeksie.
public CalendarException this[int index] { get; set; }
Wartość właściwości
Metody
Add(CalendarException)
Dodaje instancję CalendarException do tego obiektu kolekcji.
public void Add(CalendarException item)
Parametry
item
CalendarException
Element do dodania.
AddRange(IEnumerable<calendarexception>)
Dodaje zakres wyjątków do wewnętrznej listy.
public void AddRange(IEnumerable<calendarexception> exceptionList)
Parametry
exceptionList
IEnumerable<CalendarException>
Zakres wyjątków do dodania.
Clear()
Usuwa wszystkie elementy z Aspose.Tasks.CalendarExceptionCollection.
public void Clear()
GetEnumerator()
Zwraca enumerator dla tej kolekcji.
public IEnumerator<calendarexception> GetEnumerator()
Zwraca
IEnumerator<CalendarException>
enumerator dla tej kolekcji.
Remove(CalendarException)
Usuwa instancję Aspose.Tasks.CalendarException z tej kolekcji.
public bool Remove(CalendarException item)
Parametry
item
CalendarException
Element do usunięcia.
Zwraca
true, jeśli określony wyjątek został pomyślnie usunięty.
ToList()
Konwertuje obiekt CalendarExceptionCollection na listę obiektów Aspose.Tasks.CalendarException.
public List<calendarexception> ToList()
Zwraca
Lista obiektów Aspose.Tasks.CalendarException.