Share via


CustomField class

Contains the properties and methods that are used to create an enterprise custom field.

Inheritance hierarchy

System.Object
  Microsoft.SharePoint.Client.ClientObject
    Microsoft.ProjectServer.Client.CustomField

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

Syntax

'Declaration
<ScriptTypeAttribute("PS.CustomField", ServerTypeId := "{02ae9608-fbbc-43bc-8576-dc07dcf4c8d5}")> _
Public Class CustomField _
    Inherits ClientObject
'Usage
Dim instance As CustomField
[ScriptTypeAttribute("PS.CustomField", ServerTypeId = "{02ae9608-fbbc-43bc-8576-dc07dcf4c8d5}")]
public class CustomField : ClientObject

Remarks

The CSOM can access only enterprise custom fields, not local custom fields that are defined within a project.

Thread safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See also

Reference

CustomField members

Microsoft.ProjectServer.Client namespace

CustomFieldCreationInformation

CustomFieldCollection