Share via


StageCustomField class

inherits members from ClientObject

Represents a custom field for a project stage.

Syntax

CSOM

class StageCustomField 

JSOM

PS.StageCustomField

REST Interface

Supported.

PS.StageCustomField

http://contoso.sharepoint.com/sites/pwa/_api/ProjectServer/Stages('{stageid}')/CustomFields('{fieldid}')

Members

✓ - Read Support       ✓ʷ - Write Support

Properties

Name .NET JSOM REST Type Description
Id Guid Gets the GUID of the stage custom field.
Name String Gets the name of the custom field.
ReadOnly Boolean Gets a value that indicates whether the customer field is read-only in the stage.
Required Boolean Gets a value that indicates whether the custom field is required in the stage.
Stage Stage Gets a link to the Stage entity.

Methods

Name .NET JSOM REST Return Type Description
DeleteObject() void Deletes the stage custom field object.

#### Method Details

DeleteObject()

Deletes the stage custom field object.

Syntax
void DeleteObject()
Parameters

None

Return Value

void

See Also

StageCustomFieldCollection
StageCustomFieldCreationInformation