Calendar.Uid
Calendar.Uid property
Gets or sets the unique identifier of the calendar.
public int Uid { 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