Class CalendarCollection

CalendarCollection class

代表集合Calendar对象.

public class CalendarCollection : IList<Calendar>

特性

姓名描述
Count { get; }获取这个包含的对象个数CalendarCollection对象.

方法

姓名描述
Add(string)向此 CalendarCollection 对象添加一个新的基准日历并返回添加的日历。
Add(string, Calendar)将具有指定基准日历的新日历添加到此 CalendarCollection 对象并返回添加的日历。
GetByName(string)返回具有指定名称的日历。
GetByUid(int)返回具有指定 UID 的日历。
GetEnumerator()返回此集合的枚举器。
Remove(Calendar)从项目日历集合中删除日历。
ToList()将 CalendarCollection 对象转换为列表Calendar对象.

也可以看看