Class CalendarExceptionCollection
Namespace: Aspose.Tasks
Assembly: Aspose.Tasks.dll (25.2.0)
מייצג אוסף של אובייקטי Aspose.Tasks.CalendarException.
public class CalendarExceptionCollection : IList<calendarexception>, ICollection<calendarexception>, IEnumerable<calendarexception>, IEnumerable
ירושה
object ← CalendarExceptionCollection
מיישם
IList<calendarexception>, ICollection<calendarexception>, IEnumerable<calendarexception>, IEnumerable
חברים ירושים
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
מאפיינים
Count
מחזיר את מספר האובייקטים הכלולים באובייקט Aspose.Tasks.CalendarExceptionCollection זה.
public int Count { get; }
ערך המאפיין
ParentCalendar
מחזיר את לוח השנה ההורה עבור אובייקט זה.
public Calendar ParentCalendar { get; }
ערך המאפיין
this[int]
מחזיר את האלמנט באינדקס המוגדר.
public CalendarException this[int index] { get; set; }
ערך המאפיין
שיטות
Add(CalendarException)
מוסיף מופע של CalendarException לאובייקט האוסף הזה.
public void Add(CalendarException item)
פרמטרים
item
CalendarException
הפריט להוספה.
AddRange(IEnumerable<calendarexception>)
מוסיף טווח של חריגות לרשימה הפנימית.
public void AddRange(IEnumerable<calendarexception> exceptionList)
פרמטרים
exceptionList
IEnumerable<CalendarException>
טווח של חריגות להוספה.
Clear()
מסיר את כל הפריטים מאוסף Aspose.Tasks.CalendarExceptionCollection.
public void Clear()
GetEnumerator()
מחזיר Enumerator עבור אוסף זה.
public IEnumerator<calendarexception> GetEnumerator()
מחזיר
IEnumerator<CalendarException>
Enumerator עבור אוסף זה.
Remove(CalendarException)
מסיר מופע של Aspose.Tasks.CalendarException מאוסף זה.
public bool Remove(CalendarException item)
פרמטרים
item
CalendarException
הפריט להסרה.
מחזיר
true אם החריגה המוגדרת הוסרה בהצלחה.
ToList()
ממיר את אובייקט CalendarExceptionCollection לרשימה של אובייקטי Aspose.Tasks.CalendarException.
public List<calendarexception> ToList()
מחזיר
רשימה של אובייקטי Aspose.Tasks.CalendarException.