Table of contents
TOC
折叠目录
展开目录

Cell.FieldID 属性 (项目)Cell.FieldID Property (Project)

office 365 dev account|上次更新日期: 2018/3/13
|
2 参与人员

获取活动单元格中任务或资源的域标识号。只读的Gets the identification number of the task or resource field in the active cell. Read-only Long.

语法Syntax

表达式FieldIDexpression. FieldID

表达式_一个表示单元格对象的变量。_expression A variable that represents a Cell object.

注解Remarks

如果活动单元格包含一个任务,可以是下面的PjField常量之一:If the active cell contains a task, can be one of the following PjField constants:

pjTaskActualCostpjTaskActualCostpjTaskHyperlinkSubAddresspjTaskHyperlinkSubAddress
pjTaskActualDurationpjTaskActualDurationpjTaskIDpjTaskID
pjTaskActualFinishpjTaskActualFinishpjTaskIgnoreResourceCalendarpjTaskIgnoreResourceCalendar
pjTaskActualOvertimeCostpjTaskActualOvertimeCostpjTaskIndexpjTaskIndex
pjTaskActualOvertimeWorkpjTaskActualOvertimeWorkpjTaskIndicatorspjTaskIndicators
pjTaskActualOvertimeWorkProtectedpjTaskActualOvertimeWorkProtectedpjTaskIsAssignmentpjTaskIsAssignment
pjTaskActualStartpjTaskActualStartpjTaskLateFinishpjTaskLateFinish
pjTaskActualWorkpjTaskActualWorkpjTaskLateStartpjTaskLateStart
pjTaskActualWorkProtectedpjTaskActualWorkProtectedpjTaskLevelAssignmentspjTaskLevelAssignments
pjTaskACWPpjTaskACWPpjTaskLevelCanSplitpjTaskLevelCanSplit
pjTaskAssignmentDelaypjTaskAssignmentDelaypjTaskLevelDelaypjTaskLevelDelay
pjTaskAssignmentUnitspjTaskAssignmentUnitspjTaskLinkedFieldspjTaskLinkedFields
pjTaskBaseline1 10CostpjTaskBaseline1-10CostpjTaskMarkedpjTaskMarked
pjTaskBaseline1 10DurationpjTaskBaseline1-10DurationpjTaskMilestonepjTaskMilestone
pjTaskBaseline1 10DurationEstimatedpjTaskBaseline1-10DurationEstimatedpjTaskNamepjTaskName
pjTaskBaseline1 10FinishpjTaskBaseline1-10FinishpjTaskNotespjTaskNotes
pjTaskBaseline1 10StartpjTaskBaseline1-10StartpjTaskNumber1-20pjTaskNumber1-20
pjTaskBaseline1 10WorkpjTaskBaseline1-10WorkpjTaskObjectspjTaskObjects
pjTaskBaselineCostpjTaskBaselineCostpjTaskOutlineCode1-10pjTaskOutlineCode1-10
pjTaskBaselineDurationpjTaskBaselineDurationpjTaskOutlineLevelpjTaskOutlineLevel
pjTaskBaselineDurationEstimatedpjTaskBaselineDurationEstimatedpjTaskOutlineNumberpjTaskOutlineNumber
pjTaskBaselineFinishpjTaskBaselineFinishpjTaskOverallocatedpjTaskOverallocated
pjTaskBaselineStartpjTaskBaselineStartpjTaskOvertimeCostpjTaskOvertimeCost
pjTaskBaselineWorkpjTaskBaselineWorkpjTaskOvertimeWorkpjTaskOvertimeWork
pjTaskBCWPpjTaskBCWPpjTaskParentTaskpjTaskParentTask
pjTaskBCWSpjTaskBCWSpjTaskPercentCompletepjTaskPercentComplete
pjTaskCalendarpjTaskCalendarpjTaskPercentWorkCompletepjTaskPercentWorkComplete
pjTaskConfirmedpjTaskConfirmedpjTaskPhysicalPercentCompletepjTaskPhysicalPercentComplete
pjTaskConstraintDatepjTaskConstraintDatepjTaskPredecessorspjTaskPredecessors
pjTaskConstraintTypepjTaskConstraintTypepjTaskPreleveledFinishpjTaskPreleveledFinish
pjTaskContactpjTaskContactpjTaskPreleveledStartpjTaskPreleveledStart
pjTaskCostpjTaskCostpjTaskPrioritypjTaskPriority
pjTaskCost1-10pjTaskCost1-10pjTaskProjectpjTaskProject
pjTaskCostRateTablepjTaskCostRateTablepjTaskRecurringpjTaskRecurring
pjTaskCostVariancepjTaskCostVariancepjTaskRegularWorkpjTaskRegularWork
pjTaskCPIpjTaskCPIpjTaskRemainingCostpjTaskRemainingCost
pjTaskCreatedpjTaskCreatedpjTaskRemainingDurationpjTaskRemainingDuration
pjTaskCriticalpjTaskCriticalpjTaskRemainingOvertimeCostpjTaskRemainingOvertimeCost
pjTaskCVpjTaskCVpjTaskRemainingOvertimeWorkpjTaskRemainingOvertimeWork
pjTaskCVPercentpjTaskCVPercentpjTaskRemainingWorkpjTaskRemainingWork
pjTaskDate1-10pjTaskDate1-10pjTaskResourceEnterpriseMultiValueCode20-29pjTaskResourceEnterpriseMultiValueCode20-29
pjTaskDeadlinepjTaskDeadlinepjTaskResourceEnterpriseOutlineCode1-29pjTaskResourceEnterpriseOutlineCode1-29
pjTaskDelaypjTaskDelaypjTaskResourceEnterpriseRBSpjTaskResourceEnterpriseRBS
pjTaskDemandedRequestpjTaskDemandedRequestpjTaskResourceGrouppjTaskResourceGroup
pjTaskDurationpjTaskDurationpjTaskResourceInitialspjTaskResourceInitials
pjTaskDuration1-10pjTaskDuration1-10pjTaskResourceNamespjTaskResourceNames
pjTaskDuration1 10EstimatedpjTaskDuration1-10EstimatedpjTaskResourcePhoneticspjTaskResourcePhonetics
pjTaskDurationVariancepjTaskDurationVariancepjTaskResourceTypepjTaskResourceType
pjTaskEACpjTaskEACpjTaskResponsePendingpjTaskResponsePending
pjTaskEarlyFinishpjTaskEarlyFinishpjTaskResumepjTaskResume
pjTaskEarlyStartpjTaskEarlyStartpjTaskResumeNoEarlierThanpjTaskResumeNoEarlierThan
pjTaskEarnedValueMethodpjTaskEarnedValueMethodpjTaskRolluppjTaskRollup
pjTaskEffortDrivenpjTaskEffortDrivenpjTaskSheetNotespjTaskSheetNotes
pjTaskEnterpriseCost1-10pjTaskEnterpriseCost1-10pjTaskSPIpjTaskSPI
pjTaskEnterpriseDate1-30pjTaskEnterpriseDate1-30pjTaskStartpjTaskStart
pjTaskEnterpriseDuration1-10pjTaskEnterpriseDuration1-10pjTaskStart1-10pjTaskStart1-10
pjTaskEnterpriseFlag1-20pjTaskEnterpriseFlag1-20pjTaskStartSlackpjTaskStartSlack
pjTaskEnterpriseNumber1-40pjTaskEnterpriseNumber1-40pjTaskStartVariancepjTaskStartVariance
pjTaskEnterpriseOutlineCode1-30pjTaskEnterpriseOutlineCode1-30pjTaskStatuspjTaskStatus
pjTaskEnterpriseProjectCost1-10pjTaskEnterpriseProjectCost1-10pjTaskStatusIndicatorpjTaskStatusIndicator
pjTaskEnterpriseProjectDate1-30pjTaskEnterpriseProjectDate1-30pjTaskStoppjTaskStop
pjTaskEnterpriseProjectDuration1-10pjTaskEnterpriseProjectDuration1-10pjTaskSubprojectpjTaskSubproject
pjTaskEnterpriseProjectFlag1-20pjTaskEnterpriseProjectFlag1-20pjTaskSubprojectReadOnlypjTaskSubprojectReadOnly
pjTaskEnterpriseProjectNumber1-40pjTaskEnterpriseProjectNumber1-40pjTaskSuccessorspjTaskSuccessors
pjTaskEnterpriseProjectOutlineCode1-30pjTaskEnterpriseProjectOutlineCode1-30pjTaskSummarypjTaskSummary
pjTaskEnterpriseProjectText1-40pjTaskEnterpriseProjectText1-40pjTaskSVpjTaskSV
pjTaskEnterpriseText1-40pjTaskEnterpriseText1-40pjTaskSVPercentpjTaskSVPercent
pjTaskEstimatedpjTaskEstimatedpjTaskTCPIpjTaskTCPI
pjTaskExternalTaskpjTaskExternalTaskpjTaskTeamStatusPendingpjTaskTeamStatusPending
pjTaskFinishpjTaskFinishpjTaskText1-30pjTaskText1-30
pjTaskFinish1-10pjTaskFinish1-10pjTaskTotalSlackpjTaskTotalSlack
pjTaskFinishSlackpjTaskFinishSlackpjTaskTypepjTaskType
pjTaskFinishVariancepjTaskFinishVariancepjTaskUniqueIDpjTaskUniqueID
pjTaskFixedCostpjTaskFixedCostpjTaskUniquePredecessorspjTaskUniquePredecessors
pjTaskFixedCostAccrualpjTaskFixedCostAccrualpjTaskUniqueSuccessorspjTaskUniqueSuccessors
pjTaskFixedDurationpjTaskFixedDurationpjTaskUpdateNeededpjTaskUpdateNeeded
pjTaskFlag1-20pjTaskFlag1-20pjTaskVACpjTaskVAC
pjTaskFreeSlackpjTaskFreeSlackpjTaskWBSpjTaskWBS
pjTaskGroupBySummarypjTaskGroupBySummarypjTaskWBSPredecessorspjTaskWBSPredecessors
pjTaskHideBarpjTaskHideBarpjTaskWBSSuccessorspjTaskWBSSuccessors
pjTaskHyperlinkpjTaskHyperlinkpjTaskWorkpjTaskWork
pjTaskHyperlinkAddresspjTaskHyperlinkAddresspjTaskWorkContourpjTaskWorkContour
pjTaskHyperlinkHrefpjTaskHyperlinkHrefpjTaskWorkVariancepjTaskWorkVariance
pjTaskHyperlinkScreenTippjTaskHyperlinkScreenTip

如果活动单元格包含一个资源,可以是下面的PjField常量之一:If the active cell contains a resource, can be one of the following PjField constants:

pjResourceAccrueAtpjResourceAccrueAtpjResourceEnterpriseUniqueIDpjResourceEnterpriseUniqueID
pjResourceActualCostpjResourceActualCostpjResourceFinishpjResourceFinish
pjResourceActualOvertimeCostpjResourceActualOvertimeCostpjResourceFinish1-10pjResourceFinish1-10
pjResourceActualOvertimeWorkpjResourceActualOvertimeWorkpjResourceFlag1-20pjResourceFlag1-20
pjResourceActualOvertimeWorkProtectedpjResourceActualOvertimeWorkProtectedpjResourceGrouppjResourceGroup
pjResourceActualWorkpjResourceActualWorkpjResourceGroupBySummarypjResourceGroupBySummary
pjResourceActualWorkProtectedpjResourceActualWorkProtectedpjResourceHyperlinkpjResourceHyperlink
pjResourceACWPpjResourceACWPpjResourceHyperlinkAddresspjResourceHyperlinkAddress
pjResourceAssignmentDelaypjResourceAssignmentDelaypjResourceHyperlinkHrefpjResourceHyperlinkHref
pjResourceAssignmentUnitspjResourceAssignmentUnitspjResourceHyperlinkScreenTippjResourceHyperlinkScreenTip
pjResourceAvailableFrompjResourceAvailableFrompjResourceHyperlinkSubAddresspjResourceHyperlinkSubAddress
pjResourceAvailableTopjResourceAvailableTopjResourceIDpjResourceID
pjResourceBaseCalendarpjResourceBaseCalendarpjResourceIndexpjResourceIndex
pjResourceBaseline1 10CostpjResourceBaseline1-10CostpjResourceIndicatorspjResourceIndicators
pjResourceBaseline1 10FinishpjResourceBaseline1-10FinishpjResourceInitialspjResourceInitials
pjResourceBaseline1 10StartpjResourceBaseline1-10StartpjResourceIsAssignmentpjResourceIsAssignment
pjResourceBaseline1 10WorkpjResourceBaseline1-10WorkpjResourceLevelingDelaypjResourceLevelingDelay
pjResourceBaselineCostpjResourceBaselineCostpjResourceLinkedFieldspjResourceLinkedFields
pjResourceBaselineFinishpjResourceBaselineFinishpjResourceMaterialLabelpjResourceMaterialLabel
pjResourceBaselineStartpjResourceBaselineStartpjResourceMaxUnitspjResourceMaxUnits
pjResourceBaselineWorkpjResourceBaselineWorkpjResourceNamepjResourceName
pjResourceBCWPpjResourceBCWPpjResourceNotespjResourceNotes
pjResourceBCWSpjResourceBCWSpjResourceNumber1-20pjResourceNumber1-20
pjResourceBookingTypepjResourceBookingTypepjResourceObjectspjResourceObjects
pjResourceCanLevelpjResourceCanLevelpjResourceOutlineCode1-10pjResourceOutlineCode1-10
pjResourceCodepjResourceCodepjResourceOverallocatedpjResourceOverallocated
pjResourceConfirmedpjResourceConfirmedpjResourceOvertimeCostpjResourceOvertimeCost
pjResourceCostpjResourceCostpjResourceOvertimeRatepjResourceOvertimeRate
pjResourceCost1-10pjResourceCost1-10pjResourceOvertimeWorkpjResourceOvertimeWork
pjResourceCostPerUsepjResourceCostPerUsepjResourcePeakUnitspjResourcePeakUnits
pjResourceCostRateTablepjResourceCostRateTablepjResourcePercentWorkCompletepjResourcePercentWorkComplete
pjResourceCostVariancepjResourceCostVariancepjResourcePhoneticspjResourcePhonetics
pjResourceCreatedpjResourceCreatedpjResourceProjectpjResourceProject
pjResourceCVpjResourceCVpjResourceRegularWorkpjResourceRegularWork
pjResourceDate1-10pjResourceDate1-10pjResourceRemainingCostpjResourceRemainingCost
pjResourceDemandedRequestedpjResourceDemandedRequestedpjResourceRemainingOvertimeCostpjResourceRemainingOvertimeCost
pjResourceDuration1-10pjResourceDuration1-10pjResourceRemainingOvertimeWorkpjResourceRemainingOvertimeWork
pjResourceEMailAddresspjResourceEMailAddresspjResourceRemainingWorkpjResourceRemainingWork
pjResourceEnterprisepjResourceEnterprisepjResourceResponsePendingpjResourceResponsePending
pjResourceEnterpriseBaseCalendarpjResourceEnterpriseBaseCalendarpjResourceSheetNotespjResourceSheetNotes
pjResourceEnterpriseCheckedOutBypjResourceEnterpriseCheckedOutBypjResourceStandardRatepjResourceStandardRate
pjResourceEnterpriseCost1-10pjResourceEnterpriseCost1-10pjResourceStartpjResourceStart
pjResourceEnterpriseDate1-30pjResourceEnterpriseDate1-30pjResourceStart1-10pjResourceStart1-10
pjResourceEnterpriseDuration1-10pjResourceEnterpriseDuration1-10pjResourceSVpjResourceSV
pjResourceEnterpriseFlag1-20pjResourceEnterpriseFlag1-20pjResourceTaskSummaryNamepjResourceTaskSummaryName
pjResourceEnterpriseGenericpjResourceEnterpriseGenericpjResourceTeamStatusPendingpjResourceTeamStatusPending
pjResourceEnterpriseInactivepjResourceEnterpriseInactivepjResourceText1-30pjResourceText1-30
pjResourceEnterpriseIsCheckedOutpjResourceEnterpriseIsCheckedOutpjResourceTypepjResourceType
pjResourceEnterpriseLastModifiedDatepjResourceEnterpriseLastModifiedDatepjResourceUniqueIDpjResourceUniqueID
pjResourceEnterpriseMultiValue20-29pjResourceEnterpriseMultiValue20-29pjResourceUpdateNeededpjResourceUpdateNeeded
pjResourceEnterpriseNameUsedpjResourceEnterpriseNameUsedpjResourceVACpjResourceVAC
pjResourceEnterpriseNumber1-40pjResourceEnterpriseNumber1-40pjResourceWindowsUserAccountpjResourceWindowsUserAccount
pjResourceEnterpriseOutlineCode1-29pjResourceEnterpriseOutlineCode1-29pjResourceWorkpjResourceWork
pjResourceEnterpriseRBSpjResourceEnterpriseRBSpjResourceWorkContourpjResourceWorkContour
pjResourceEnterpriseRequiredValuespjResourceEnterpriseRequiredValuespjResourceWorkgrouppjResourceWorkgroup
pjResourceEnterpriseTeamMemberpjResourceEnterpriseTeamMemberpjResourceWorkVariancepjResourceWorkVariance
pjResourceEnterpriseText1-40pjResourceEnterpriseText1-40
© 2018 Microsoft