Working with Calendar Properties

Working with General Calendar Properties

Microsoft Project uses calendars and other information to calculate project end dates. Aspose.Tasks for .NET supports calendar functionality. This article illustrates the calendar properties that can be set and shows how they are applied in code.

The Calendar exposes a number of properties used to define the base calendar in Microsoft Outlook:

  • BaseCalendar – the base calendar. This property supports the Calendar object for reading and writing the base calendar for the current calendar instance and is only applicable is the current calendar instance is not already a base calendar.
  • Name – the calendar’s name. Get or set the property with a string.
  • Uid – the calendar’s unique ID. Integer.

The code that follows gets the general calendar properties.