Class CalendarExceptionCollection
Namespace: Aspose.Tasks
Assembly: Aspose.Tasks.dll (25.2.0)
Reprezentuje kolekci objektů Aspose.Tasks.CalendarException.
public class CalendarExceptionCollection : IList<calendarexception>, ICollection<calendarexception>, IEnumerable<calendarexception>, IEnumerable
Dědičnost
object ← CalendarExceptionCollection
Implementuje
IList<calendarexception>, ICollection<calendarexception>, IEnumerable<calendarexception>, IEnumerable
Děděné členy
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Vlastnosti
Count
Získá počet objektů obsažených v tomto objektu Aspose.Tasks.CalendarExceptionCollection.
public int Count { get; }
Hodnota vlastnosti
ParentCalendar
Získá rodičovský kalendář pro tento objekt.
public Calendar ParentCalendar { get; }
Hodnota vlastnosti
this[int]
Vrátí prvek na zadaném indexu.
public CalendarException this[int index] { get; set; }
Hodnota vlastnosti
Metody
Add(CalendarException)
Přidá instanci CalendarException do tohoto objektu kolekce.
public void Add(CalendarException item)
Parametry
item
CalendarException
Položka, kterou je třeba přidat.
AddRange(IEnumerable<calendarexception>)
Přidá rozsah výjimek do interního seznamu.
public void AddRange(IEnumerable<calendarexception> exceptionList)
Parametry
exceptionList
IEnumerable<CalendarException>
Rozsah výjimek, které je třeba přidat.
Clear()
Odstraní všechny položky z Aspose.Tasks.CalendarExceptionCollection.
public void Clear()
GetEnumerator()
Vrátí enumerátor pro tuto kolekci.
public IEnumerator<calendarexception> GetEnumerator()
Vrací
IEnumerator<CalendarException>
enumerátor pro tuto kolekci.
Remove(CalendarException)
Odstraní instanci Aspose.Tasks.CalendarException z této kolekce.
public bool Remove(CalendarException item)
Parametry
item
CalendarException
Položka, kterou je třeba odstranit.
Vrací
true, pokud byla zadaná výjimka úspěšně odstraněna.
ToList()
Převede objekt CalendarExceptionCollection na seznam objektů Aspose.Tasks.CalendarException.
public List<calendarexception> ToList()
Vrací
Seznam objektů Aspose.Tasks.CalendarException.