ProjectContext.CustomFields property

Office 2013 and later

Gets the collection of enterprise custom field definitions in the Project Web App instance.

Namespace:  Microsoft.ProjectServer.Client
Assembly:  Microsoft.ProjectServer.Client (in Microsoft.ProjectServer.Client.dll)

Public ReadOnly Property CustomFields As CustomFieldCollection
Dim instance As ProjectContext
Dim value As CustomFieldCollection

value = instance.CustomFields

Property value

Type: Microsoft.ProjectServer.Client.CustomFieldCollection
A collection of CustomFields objects.

Values for custom fields can be set on many entity types, including projects, tasks, resources, and assignments. A project can also include definitions for local custom fields that are specific to each project.