共用方式為


CustomField.PROJECT_DEPARTMENT_MD_PROP_UID Field

GUID of the default Project Department custom field.

Namespace:  Microsoft.Office.Project.Server.Library
Assembly:  Microsoft.Office.Project.Server.Library (in Microsoft.Office.Project.Server.Library.dll)

Syntax

'Declaration
Public Shared ReadOnly PROJECT_DEPARTMENT_MD_PROP_UID As Guid
'Usage
Dim value As Guid

value = CustomField.PROJECT_DEPARTMENT_MD_PROP_UID
public static readonly Guid PROJECT_DEPARTMENT_MD_PROP_UID

Remarks

Value = 9D77D62A-A92E-4D40-ADC8-446C90EB7456. To create a project department custom field, assign PROJECT_DEPARTMENT_MD_PROP_UID to the MD_PROP_UID property in a ProjectDataSet.ProjectCustomFields table. For a code example, see QueueCreateProject.

See Also

Reference

CustomField Class

CustomField Members

Microsoft.Office.Project.Server.Library Namespace