Class CalendarExceptionCollection

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 , ICollection , IEnumerable , IEnumerable

อนุญาโตตุลาการ

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

คุณสมบัติมูลค่า

int

ParentCalendar

รับคํานวณแม่สําหรับวัตถุนี้

public Calendar ParentCalendar { get; }

คุณสมบัติมูลค่า

Calendar

นี่[int]

กลับองค์ประกอบไปยัง indice ที่ระบุ

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

คุณสมบัติมูลค่า

CalendarException

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

bool

ความถูกต้องถ้าข้อยกเว้นที่ระบุถูกกําจัดอย่างประสบความสําเร็จ

ToList()

แปลงรายการ CalendarExceptionCollection ในรายการ Aspose.Tasks.CalendarException วัตถุ

public List<calendarexception> ToList()

Returns

List < CalendarException >

รายการของ Aspose.Tasks.CalendarException วัตถุ

 แบบไทย