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()
الخصائص
العدد
يحصل على عدد الكائنات الموجودة في هذا الكائن 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()
يعيد عدادًا لهذه المجموعة.
public IEnumerator<calendarexception> GetEnumerator()
يعيد
IEnumerator<CalendarException>
عدادًا لهذه المجموعة.
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.