PrjKey

PrjKey enumeration

Represents a list of supported project fields.

public enum PrjKey : byte

Values

NameValueDescription
ShowProjectSummaryTask0Represents the ShowProjectSummaryTask (Project) field.
SaveVersion1Represents the SaveVersion (Project) field.
Uid2Represents the Uid (Project) field.
Title3Represents the Title (Project) field.
Subject4Represents the Subject (Project) field.
Category5Represents the Category (Project) field.
Company6Represents the Company (Project) field.
Manager7Represents the Manager (Project) field.
Author8Represents the Author (Project) field.
CreationDate9Represents the CreationDate (Project) field.
Revision10Represents the Revision (Project) field.
LastSaved11Represents the LastSaved (Project) field.
ScheduleFromStart12Represents the ScheduleFromStart (Project) field.
StartDate13Represents the StartDate (Project) field.
FinishDate14Represents the FinishDate (Project) field.
FyStartDate15Represents the
CriticalSlackLimit16Represents the CriticalSlackLimit (Project) field.
CurrencyDigits17Represents the CurrencyDigits (Project) field.
CurrencySymbol18Represents the CurrencySymbol (Project) field.
CurrencyCode19Represents the CurrencyCode (Project) field.
CurrencySymbolPosition20Represents the CurrencySymbolPosition (Project) field.
Calendar21Represents the Calendar (Project) field.
DateFormat22Represents the DateFormat (Project) field.
DefaultStartTime23Represents the DefaultStartTime (Project) field.
DefaultFinishTime24Represents the DefaultFinishTime (Project) field.
MinutesPerDay25Represents the MinutesPerDay (Project) field.
MinutesPerWeek26Represents the MinutesPerWeek (Project) field.
DaysPerMonth27Represents the DaysPerMonth (Project) field.
DefaultTaskType28Represents the DefaultTaskType (Project) field.
DefaultFixedCostAccrual29Represents the DefaultFixedCostAccrual (Project) field.
DefaultStandardRate30Represents the DefaultStandardRate (Project) field.
DefaultOvertimeRate31Represents the DefaultOvertimeRate (Project) field.
DurationFormat32Represents the DurationFormat (Project) field.
WorkFormat33Represents the WorkFormat (Project) field.
AreEditableActualCosts34Represents the AreEditableActualCosts (Project) field.
HonorConstraints35Represents the HonorConstraints (Project) field.
EarnedValueMethod36Represents the EarnedValueMethod (Project) field.
InsertedProjectsLikeSummary37Represents the InsertedProjectsLikeSummary (Project) field.
MultipleCriticalPaths38Represents the MultipleCriticalPaths (Project) field.
NewTasksEffortDriven39Represents the NewTasksEffortDriven (Project) field.
NewTasksEstimated40Represents the NewTasksEstimated (Project) field.
SplitsInProgressTasks41Represents the SplitsInProgressTasks (Project) field.
SpreadActualCosts42Represents the SpreadActualCosts (Project) field.
SpreadPercentComplete43Represents the SpreadPercentComplete (Project) field.
TaskUpdatesResource44Represents the TaskUpdatesResource (Project) field.
FiscalYearStart45Represents the FiscalYearStart (Project) field.
WeekStartDay46Represents the WeekStartDay (Project) field.
MoveCompletedEndsBack47Represents the MoveCompletedEndsBack (Project) field.
MoveRemainingStartsBack48Represents the MoveRemainingStartsBack (Project) field.
MoveRemainingStartsForward49Represents the MoveRemainingStartsForward (Project) field.
MoveCompletedEndsForward50Represents the MoveCompletedEndsForward (Project) field.
BaselineForEarnedValue51Represents the BaselineForEarnedValue (Project) field.
AutoAddNewResourcesAndTasks52Represents the AutoAddNewResourcesAndTasks (Project) field.
StatusDate53Represents the StatusDate (Project) field.
CurrentDate54Represents the CurrentDate (Project) field.
MicrosoftProjectServerURL55Represents the MicrosoftProjectServerURL (Project) field.
Autolink56Represents the Autolink (Project) field.
NewTaskStartDate57Represents the NewTaskStartDate (Project) field.
DefaultTaskEVMethod58Represents the DefaultTaskEVMethod (Project) field.
ExtendedCreationDate59Represents the ExtendedCreationDate (Project) field.
ActualsInSync60Represents the ActualsInSync (Project) field.
ProjectExternallyEdited61Represents the ProjectExternallyEdited (Project) field.
RemoveFileProperties62Represents the RemoveFileProperties (Project) field.
AdminProject63Represents the AdminProject (Project) field.
Name64Represents the Name (Project) field.
TimescaleStart65Represents the TimescaleStart (Project) field.
TimescaleFinish66Represents the TimescaleFinish (Project) field.
Comments67Represents the Comments (Project) field.
Keywords68Represents the Keywords (Project) field.
Template69Represents the Template (Project) field.
LastAuthor70Represents the LastAuthor (Project) field.
LastPrinted71Represents the LastPrinted (Project) field.
HyperlinkBase72Represents the HyperlinkBase (Project) field.
NewTasksAreManual73Represents the NewTasksAreManual (Project) field.
UpdateManuallyScheduledTasksWhenEditingLinks74Represents the UpdateManuallyScheduledTasksWhenEditingLinks (Project) field.
KeepTaskOnNearestWorkingTimeWhenMadeAutoScheduled75Represents the KeepTaskOnNearestWorkingTimeWhenMadeAutoScheduled (Project) field.
DefaultCalendarGuid76Default calendar guid.
DefaultCalendarUid77Default calendar uid.
Guid78Represents the guid of a project.
AutoCalculateAssignmentCosts79Determines whether assignment cost and remaining cost should be auto calculated using assignment’s work and resource rates.
CustomDateFormat80Represents user-defined date format.
TemplateFullPath81Represents the Template (Project) full file name.

Examples

Shows how to set attributes for new tasks.

var project = new Project();
project.Set(Prj.NewTaskStartDate, TaskStartDateType.CurrentDate);

Console.WriteLine("New Task Start Date: " + project.Get(Prj.NewTaskStartDate));

See Also