Class CalendarExceptionCollection

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

objectCalendarExceptionCollection

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

int

ParentCalendar

Získá rodičovský kalendář pro tento objekt.

public Calendar ParentCalendar { get; }

Hodnota vlastnosti

Calendar

this[int]

Vrátí prvek na zadaném indexu.

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

Hodnota vlastnosti

CalendarException

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

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

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í

bool

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í

List<CalendarException&gt;

Seznam objektů Aspose.Tasks.CalendarException.

 Čeština