Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

ProjectCalendarCollection

Namespace OfficeIMO.Project
Assembly OfficeIMO.Project
Implements
IReadOnlyList<ProjectCalendar> IReadOnlyCollection<ProjectCalendar> IEnumerable<ProjectCalendar> IEnumerable
Modifiers sealed
Attributes
DefaultMember("Item")

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

Methods

public ProjectCalendar Add(String name, ProjectCalendar baseCalendar = null) #
Returns: ProjectCalendar

Creates a calendar with no explicit working days.

Parameters

name System.String requiredposition: 0
baseCalendar OfficeIMO.Project.ProjectCalendar = null optionalposition: 1
public ProjectCalendar AddStandardWorkingWeek(String name = "Standard") #
Returns: ProjectCalendar

Creates an explicit Monday-Friday 08:00-12:00/13:00-17:00 working week.

Parameters

name System.String = "Standard" optionalposition: 0
public ProjectCalendar GetByUid(Int32 uid) #
Returns: ProjectCalendar

Finds a calendar by stable UID.

Parameters

uid System.Int32 requiredposition: 0
public virtual IEnumerator<ProjectCalendar> GetEnumerator() #
Returns: IEnumerator<ProjectCalendar>
public Boolean Remove(ProjectCalendar calendar) #
Returns: Boolean

Removes an unreferenced calendar; inherited and assigned calendars cannot be removed.

Parameters

calendar OfficeIMO.Project.ProjectCalendar requiredposition: 0

Properties

public virtual Int32 Count { get; } #

Number of calendars.

public virtual ProjectCalendar this[Int32 index] { get; } #

Calendar by position.

Parameters

arg1 System.Int32 requiredposition: 0