Class CalendarExceptionCollection
ชื่อพื้นที่: Aspose.Tasks การประกอบ: Aspose.Tasks.dll (25.4.0)
แสดงคอลเลกชันของ Aspose.Tasks.CalendarException Objects
public class CalendarExceptionCollection : IList<calendarexception>, ICollection<calendarexception>, IEnumerable<calendarexception>, IEnumerable
Inheritance
object ← CalendarExceptionCollection
Implements
IList
อนุญาโตตุลาการ
object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Properties
Count
รับจํานวนวัตถุที่อยู่ใน Aspose.Tasks.CalendarExceptionCollection วัตถุนี้
public int Count { get; }
คุณสมบัติมูลค่า
ParentCalendar
รับคํานวณแม่สําหรับวัตถุนี้
public Calendar ParentCalendar { get; }
คุณสมบัติมูลค่า
นี่[int]
กลับองค์ประกอบไปยัง indice ที่ระบุ
public CalendarException this[int index] { get; set; }
คุณสมบัติมูลค่า
Methods
Add(CalendarException)
เพิ่มตัวอย่าง CalendarException ไปยังรายการการเก็บรวบรวมนี้
public void Add(CalendarException item)
Parameters
item
CalendarException
รายการที่จะเพิ่ม
AddRange(IEnumerable)
เพิ่มความหลากหลายของการยกเว้นไปยังรายการภายใน
public void AddRange(IEnumerable<calendarexception> exceptionList)
Parameters
exceptionList
IEnumerable
<
CalendarException
>
ช่วงของข้อผิดพลาดที่จะเพิ่ม
Clear()
ลบรายการทั้งหมดจาก Aspose.Tasks.CalendarExceptionCollection
public void Clear()
GetEnumerator()
กลับตัวเลขสําหรับคอลเลกชันนี้
public IEnumerator<calendarexception> GetEnumerator()
Returns
IEnumerator < CalendarException >
รายการสําหรับคอลเลกชันนี้
Remove(CalendarException)
ลบ Aspose.Tasks.CalendarException instance จากคอลเลกชันนี้
public bool Remove(CalendarException item)
Parameters
item
CalendarException
รายการที่จะลบ
Returns
ความถูกต้องถ้าข้อยกเว้นที่ระบุถูกกําจัดอย่างประสบความสําเร็จ
ToList()
แปลงรายการ CalendarExceptionCollection ในรายการ Aspose.Tasks.CalendarException วัตถุ
public List<calendarexception> ToList()
Returns
รายการของ Aspose.Tasks.CalendarException วัตถุ