Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

ProjectCalendarCollection

OfficeIMO.Project

Namespace
OfficeIMO.Project
Assembly
OfficeIMO.Project
Source revision
ba882f6b0d07 with working tree changes
Implements
IReadOnlyList<ProjectCalendar> IReadOnlyCollection<ProjectCalendar> IEnumerable<ProjectCalendar> IEnumerable
Modifiers
sealed
Attributes
DefaultMember("Item")

Calendars owned by the project.

Inheritance

  • object
  • ProjectCalendarCollection

Usage

Explore 1 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by 1

Methods

public ProjectCalendar Add(string name, ProjectCalendar? baseCalendar = null) #

Creates a calendar with no explicit working days.

Parameters

name string required
baseCalendar OfficeIMO.Project.ProjectCalendar? = null optional
public ProjectCalendar AddStandardWorkingWeek(string name = "Standard") #

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

Parameters

name string = "Standard" optional
public ProjectCalendar GetByUid(int uid) #

Finds a calendar by stable UID.

Parameters

uid int required
public IEnumerator<ProjectCalendar> GetEnumerator() #

Returns an enumerator that iterates through the collection.

Returns

IEnumerator<ProjectCalendar> An enumerator that can be used to iterate through the collection.
public bool Remove(ProjectCalendar calendar) #

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

Parameters

calendar OfficeIMO.Project.ProjectCalendar required

Returns

bool

Properties

public int Count { get; } #

Number of calendars.

public ProjectCalendar this[int index] { get; } #

Calendar by position.

Parameters

index int required