Class CalendarExceptionCollection
Tên không gian: Aspose.Tasks Tổng hợp: Aspose.Tasks.dll (25.5.0)
Nó đại diện cho một bộ sưu tập của Aspose.Tasks.CalendarException đối tượng.
public class CalendarExceptionCollection : IList<calendarexception>, ICollection<calendarexception>, IEnumerable<calendarexception>, IEnumerable
Inheritance
object ← CalendarExceptionCollection
Implements
IList
Thành viên thừa kế
object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Properties
Count
Nhận số lượng các đối tượng chứa trong Aspose.Tasks.CalendarExceptionCollection đối tượng này.
public int Count { get; }
Giá trị bất động sản
ParentCalendar
Nhận lịch cha mẹ cho đối tượng này.
public Calendar ParentCalendar { get; }
Giá trị bất động sản
cái này[int]
Quay lại yếu tố vào chỉ số cụ thể.
public CalendarException this[int index] { get; set; }
Giá trị bất động sản
Methods
Add(CalendarException)
Thêm CalendarException ví dụ cho mục thu thập này.
public void Add(CalendarException item)
Parameters
item
CalendarException
mục để thêm.
AddRange(Lời bài hát: Calendar Exception>)
Thêm một loạt các ngoại lệ vào danh sách nội bộ.
public void AddRange(IEnumerable<calendarexception> exceptionList)
Parameters
exceptionList
IEnumerable
<
CalendarException
>
Có nhiều ngoại lệ để thêm.
Clear()
Xóa tất cả các mục từ Aspose.Tasks.CalendarExceptionCollection.
public void Clear()
GetEnumerator()
Quay lại một danh sách cho bộ sưu tập này.
public IEnumerator<calendarexception> GetEnumerator()
Returns
IEnumerator < CalendarException >
Một danh sách cho bộ sưu tập này.
Remove(CalendarException)
Xóa Aspose.Tasks.CalendarException instance từ bộ sưu tập này.
public bool Remove(CalendarException item)
Parameters
item
CalendarException
mục để loại bỏ.
Returns
đúng nếu ngoại lệ đã được loại bỏ thành công.
ToList()
Chuyển đổi đối tượng CalendarExceptionCollection sang một danh sách đối tượng Aspose.Tasks.CalendarException.
public List<calendarexception> ToList()
Returns
Danh sách các mục Aspose.Tasks.CalendarKhông hạn