Class CalendarExceptionCollection

Class CalendarExceptionCollection

名称: Aspose.Tasks 集合: Aspose.Tasks.dll (25.4.0)

代表一系列 Aspose.Tasks.CalendarException 物品。

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

这个[因特]

将元素返回指定的指数。

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

财产价值

CalendarException

Methods

Add(CalendarException)

添加日历例外到此收集对象。

public void Add(CalendarException item)

Parameters

item CalendarException

要添加的项目。

AddRange(上一篇:日历例外>)

将例外列入内部列表。

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 例子。

public bool Remove(CalendarException item)

Parameters

item CalendarException

要去除的物品。

Returns

bool

如果提到的例外已成功撤销。

ToList()

将 CalendarExceptionCollection 对象转换为 Aspose.Tasks.CalendarException 对象列表。

public List<calendarexception> ToList()

Returns

List < CalendarException >

列表 Aspose.Tasks.Calendar 例外物品。

 中文