Class CalendarExceptionCollection

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

الوراثة

objectCalendarExceptionCollection

التنفيذ

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; }

قيمة الخاصية

int

ParentCalendar

يحصل على التقويم الأب لهذا الكائن.

public Calendar ParentCalendar { get; }

قيمة الخاصية

Calendar

this[int]

يعيد العنصر عند الفهرس المحدد.

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

قيمة الخاصية

CalendarException

الطرق

Add(CalendarException)

يضيف مثيل CalendarException إلى هذا الكائن المجمع.

public void Add(CalendarException item)

المعلمات

item CalendarException

العنصر المراد إضافته.

AddRange(IEnumerable<calendarexception>)

يضيف مجموعة من الاستثناءات إلى القائمة الداخلية.

public void AddRange(IEnumerable<calendarexception> exceptionList)

المعلمات

exceptionList IEnumerable<CalendarException&gt;

مجموعة من الاستثناءات للإضافة.

Clear()

يُزيل جميع العناصر من Aspose.Tasks.CalendarExceptionCollection.

public void Clear()

GetEnumerator()

يعيد عدادًا لهذه المجموعة.

public IEnumerator<calendarexception> GetEnumerator()

يعيد

IEnumerator<CalendarException&gt;

عدادًا لهذه المجموعة.

Remove(CalendarException)

يُزيل مثيل Aspose.Tasks.CalendarException من هذه المجموعة.

public bool Remove(CalendarException item)

المعلمات

item CalendarException

العنصر المراد إزالته.

يعيد

bool

true إذا تم إزالة الاستثناء المحدد بنجاح.

ToList()

يحول كائن CalendarExceptionCollection إلى قائمة من كائنات Aspose.Tasks.CalendarException.

public List<calendarexception> ToList()

يعيد

List<CalendarException&gt;

قائمة من كائنات Aspose.Tasks.CalendarException.

 عربي