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

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

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

获取本地大纲代码的标识号。只读的PjCustomFieldGets the identification number of the local outline code. Read-only PjCustomField.

语法Syntax

表达式FieldIDexpression. FieldID

表达式_表示大纲对象变量。_expression A variable that represents an OutlineCode object.

注解Remarks

要获取的企业文本自定义域 ID,请使用FieldNameToFieldConstant方法。To get the ID of an enterprise text custom field, use the FieldNameToFieldConstant method.

请注意 在 Office 项目 2007年和更高版本中, PjCustomField中的企业常量并不适用。项目服务器可以有任意的数量的企业文本自定义域使用分层的查阅表格。出于可用性和性能原因,企业自定义字段的数目应限于几百或更少。Note In Office Project 2007 and later versions, the enterprise constants in PjCustomField do not apply. Project Server can have an unlimited number of enterprise text custom fields that use a hierarchical lookup table. For usability and performance reasons, the number of enterprise custom fields should be limited to a few hundred or less.

您可以访问项目大纲代码和自定义字段项目摘要任务,它是通过Task(0)。对于任务的大纲代码, FieldID可以是下面的PjCustomField常量之一:You can access project outline codes and custom fields through the project summary task, which is Task(0). For a task outline code, the FieldID can be one of the following PjCustomField constants:

|| |:-----| |pjCustomTaskOutlineCode1pjCustomTaskOutlineCode1| |pjCustomTaskOutlineCode2pjCustomTaskOutlineCode2| |pjCustomTaskOutlineCode3pjCustomTaskOutlineCode3| |pjCustomTaskOutlineCode4pjCustomTaskOutlineCode4| |pjCustomTaskOutlineCode5pjCustomTaskOutlineCode5| |pjCustomTaskOutlineCode6pjCustomTaskOutlineCode6| |pjCustomTaskOutlineCode7pjCustomTaskOutlineCode7| |pjCustomTaskOutlineCode8pjCustomTaskOutlineCode8| |pjCustomTaskOutlineCode9pjCustomTaskOutlineCode9| |pjCustomTaskOutlineCode10pjCustomTaskOutlineCode10| 资源大纲代码, FieldID可以是下面的PjCustomField常量之一:For a resource outline code, the FieldID can be one of the following PjCustomField constants:

|| |:-----| |pjCustomResourceOutlineCode1pjCustomResourceOutlineCode1| |pjCustomResourceOutlineCode2pjCustomResourceOutlineCode2| |pjCustomResourceOutlineCode3pjCustomResourceOutlineCode3| |pjCustomResourceOutlineCode4pjCustomResourceOutlineCode4| |pjCustomResourceOutlineCode5pjCustomResourceOutlineCode5| |pjCustomResourceOutlineCode6pjCustomResourceOutlineCode6| |pjCustomResourceOutlineCode7pjCustomResourceOutlineCode7| |pjCustomResourceOutlineCode8pjCustomResourceOutlineCode8| |pjCustomResourceOutlineCode9pjCustomResourceOutlineCode9| |pjCustomResourceOutlineCode10pjCustomResourceOutlineCode10|

© 2018 Microsoft