Prj

Prj class

Represents supported properties of Project object.

public static class Prj

Fields

NameDescription
static readonly ActualsInSyncDetermines whether all actual works have been synchronized with the project.
static readonly AdminProjectDetermines whether a project is an administrative project.
static readonly AreEditableActualCostsDetermines whether actual costs are editable.
static readonly AuthorThe author of a project.
static readonly AutoAddNewResourcesAndTasksDetermines whether new resources or tasks automatically added to a resource or task pool.
static readonly AutoCalculateAssignmentCostsDetermines whether assignment cost and remaining cost should be auto calculated using assignment’s work and resource rates.
static readonly AutolinkDetermines whether inserted or moved tasks are auto linked.
static readonly BaselineForEarnedValueThe specific baseline used to calculate Variance values.
static readonly CalendarThe project calendar.
static readonly CategoryThe category of a project.
static readonly CommentsProject’s comments.
static readonly CompanyThe company where a project was created.
static readonly CreationDateThe date and time when a project was created.
static readonly CriticalSlackLimitThe number of days to the end of a task when Microsoft Project marks that task as a critical task.
static readonly CurrencyCodeThe three letter currency character code as defined in ISO 4217. Example of valid values is “USD”.
static readonly CurrencyDigitsThe number of digits after a decimal symbol.
static readonly CurrencySymbolThe currency symbol used in a project.
static readonly CurrencySymbolPositionThe placement of the currency symbol.
static readonly CurrentDateThe system date.
static readonly CustomDateFormatProject view custom date format. Used to format dates when DateFormat property is set to Custom.
static readonly DateFormatProject view date format.
static readonly DaysPerMonthThe number of days per month.
static readonly DefaultFinishTimeThe default finish time of new tasks.
static readonly DefaultFixedCostAccrualThe default type when fixed costs are accrued.
static readonly DefaultOvertimeRateThe default overtime rate for new resources.
static readonly DefaultStandardRateThe default standard rate for new resources.
static readonly DefaultStartTimeThe default start time of new tasks.
static readonly DefaultTaskEVMethodThe default earned value method for tasks.
static readonly DefaultTaskTypeThe default type of new tasks.
static readonly DurationFormatThe format for expressing the bulk duration.
static readonly EarnedValueMethodThe default method for calculating earned value.
static readonly ExtendedCreationDateDate used for calculation and reporting.
static readonly FinishDateThe finish date of a project.
static readonly FiscalYearStartDetermines whether the fiscal year numbering is used.
static readonly FyStartDateThe month when fiscal year is starting.
static readonly GuidThe GUID of the project.
static readonly HonorConstraintsDetermines whether tasks honor their constraint dates.
static readonly HyperlinkBaseProject’s hyperlink base.
static readonly InsertedProjectsLikeSummaryDetermines whether subtasks are calculated as summary tasks.
static readonly KeepTaskOnNearestWorkingTimeWhenMadeAutoScheduledDetermines whether manual tasks must be kept on nearest working time when made as auto scheduled.
static readonly KeywordsProject’s keywords.
static readonly LastAuthorProject’s last author.
static readonly LastPrintedProject’s last print time. Saved in UTC format in mpp files. DateTime type.
static readonly LastSavedThe date when a project was saved last time. Saved in UTC format in mpp files. DateTime type.
static readonly ManagerThe manager of a project.
static readonly MicrosoftProjectServerURLDetermines whether a project was created by a Project Server user as opposed to an NT user.
static readonly MinutesPerDayThe number of minutes per day.
static readonly MinutesPerWeekThe number of minutes per week.
static readonly MoveCompletedEndsBackDetermines whether the end of completed portions of tasks scheduled to start after the status date but started earlier should be moved back to the status date.
static readonly MoveCompletedEndsForwardDetermines whether the end of completed portions of tasks scheduled to have been completed before the status date but begun later should be moved up to the status date.
static readonly MoveRemainingStartsBackDetermines whether the beginning of remaining portions of tasks scheduled to start after the status date but started earlier should be moved back to the status date.
static readonly MoveRemainingStartsForwardDetermines whether the beginning of remaining portions of tasks scheduled to have begun later should be moved up to the status date.
static readonly MultipleCriticalPathsDetermines whether multiple critical paths are calculated.
static readonly NameThe name of the project.
static readonly NewTasksAreManualDetermines whether new tasks created as manual.
static readonly NewTasksEffortDrivenDetermines whether new tasks are effort driven.
static readonly NewTasksEstimatedDetermines whether an estimated duration is shown by default.
static readonly NewTaskStartDateThe default start date type for new tasks.
static readonly ProjectExternallyEditedDetermines whether the project was externally edited.
static readonly RemoveFilePropertiesDetermines whether all file properties will be removed on save.
static readonly RevisionThe number of times a project was saved.
static readonly SaveVersionThe version of Microsoft Office Project from which a project file was saved.
static readonly ScheduleFromStartDetermines whether to calculate the project schedule forward from the start date.
static readonly ShowProjectSummaryTaskDetermines whether to display summary information about an entire project on a single row with its own summary task bar at the top of the Gantt Chart view.
static readonly SplitsInProgressTasksDetermines whether in-progress tasks can be split.
static readonly SpreadActualCostDetermines whether actual costs are spread to the status date.
static readonly SpreadPercentCompleteDetermines whether a percent complete is spread to the status date.
static readonly StartDateThe start date of a project.
static readonly StatusDatethe status date to display progress or to calculate earned value totals. The status date is the same as the current date (today’s date) unless a different status date is specified.
static readonly SubjectThe subject of a project.
static readonly TaskUpdatesResourceDetermines whether updates to tasks update resources.
static readonly TemplateProject’s template.
static readonly TimescaleFinishThe date that the timescale in the view finishes.
static readonly TimescaleStartThe date that the timescale in the view starts.
static readonly TitleThe title of a project.
static readonly UidThe unique Id of a project.
static readonly UpdateManuallyScheduledTasksWhenEditingLinksDetermines whether manual tasks must be updated when links were edited.
static readonly WeekStartDayFirst day of a week.
static readonly WorkFormatThe format used to show the duration of the task.

Examples

Shows how to read/write project name.

var project = new Project(DataDir + "Blank2010.mpp");

project.Set(Prj.Name, "Custom Project Name");

Console.WriteLine("Project name: " + project.Get(Prj.Name));

See Also