Calendar.Name
Calendar.Name property
Gets or sets the name of the calendar.
public string Name { get; set; }
Examples
Shows how to retrieve calendar info.
var project = new Project(DataDir + "RetrieveCalendarInfo.mpp");
// Retrieve Calendars Information
foreach (var calendar in project.Calendars)
{
if (calendar.Name == null)
{
continue;
}
Console.WriteLine("Calendar UID: " + calendar.Uid);
Console.WriteLine("Calendar Name: " + calendar.Name);
}
See Also
- class Calendar
- namespace Aspose.Tasks
- assembly Aspose.Tasks