Class CalendarExceptionCollection
Nazwa przestrzeń: Aspose.Tasks Zgromadzenie: Aspose.Tasks.dll (25.4.0)
Przedstawia kolekcję obiektów Aspose.Tasks.CalendarException.
public class CalendarExceptionCollection : IList<calendarexception>, ICollection<calendarexception>, IEnumerable<calendarexception>, IEnumerable
Inheritance
object ← CalendarExceptionCollection
Implements
IList
Dziedziczeni członkowie
object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Properties
Count
Otrzymuje liczbę obiektów zawartych w tym Obiekt Aspose.Tasks.CalendarExceptionCollection.
public int Count { get; }
Wartość nieruchomości
ParentCalendar
Zdobądź kalendarz rodzicielski dla tego obiektu.
public Calendar ParentCalendar { get; }
Wartość nieruchomości
Tego[Int]
Powrót elementu do określonego indeksu.
public CalendarException this[int index] { get; set; }
Wartość nieruchomości
Methods
Add(CalendarException)
Dodaj kalendarzZ wyjątkiem przykłady do tego przedmiotu kolekcji.
public void Add(CalendarException item)
Parameters
item
CalendarException
Przedmiot do dodania.
AddRange(Wskaźnik kalendarzowy>)
Dodaj szereg wyjątków do listy wewnętrznej.
public void AddRange(IEnumerable<calendarexception> exceptionList)
Parameters
exceptionList
IEnumerable
• <
CalendarException
>
Istnieje wiele wyjątków do dodania.
Clear()
Usunąć wszystkie elementy z Aspose.Tasks.CalendarExceptionCollection.
public void Clear()
GetEnumerator()
Zwróć listę do tej kolekcji.
public IEnumerator<calendarexception> GetEnumerator()
Returns
IEnumerator • < CalendarException >
List do tej kolekcji.
Remove(CalendarException)
Usunąć Aspose.Tasks.CalendarException instancja z tej kolekcji.
public bool Remove(CalendarException item)
Parameters
item
CalendarException
Przedmiot do usunięcia.
Returns
Jest to prawdopodobne, jeśli określona wyjątek została pomyślnie usunięta.
ToList()
Konwertuje Obiekt KalendarzExceptionCollection na listę Obiektów Aspose.Tasks.CalendarException.
public List<calendarexception> ToList()
Returns
List • < CalendarException >
Lista obiektów Aspose.Tasks.CalendarZ wyjątkiem.