API Reference
Class
ProjectCalendarCollection
Calendars owned by the project.
Inheritance
- Object
- ProjectCalendarCollection
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Property ProjectDocument.Calendars
Methods
public ProjectCalendar Add(String name, ProjectCalendar baseCalendar = null) #Returns:
ProjectCalendarCreates a calendar with no explicit working days.
Parameters
- name System.String
- baseCalendar OfficeIMO.Project.ProjectCalendar = null
public ProjectCalendar AddStandardWorkingWeek(String name = "Standard") #Returns:
ProjectCalendarCreates an explicit Monday-Friday 08:00-12:00/13:00-17:00 working week.
Parameters
- name System.String = "Standard"
public ProjectCalendar GetByUid(Int32 uid) #Returns:
ProjectCalendarFinds a calendar by stable UID.
Parameters
- uid System.Int32
public virtual IEnumerator<ProjectCalendar> GetEnumerator() #Returns:
IEnumerator<ProjectCalendar>public Boolean Remove(ProjectCalendar calendar) #Returns:
BooleanRemoves an unreferenced calendar; inherited and assigned calendars cannot be removed.
Parameters
- calendar OfficeIMO.Project.ProjectCalendar
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object