Application.FieldNameToFieldConstant Method
Project Developer Reference |
Returns a PjField constant given a field name.
Syntax
expression.FieldNameToFieldConstant(FieldName, FieldType)
expression A variable that represents an Application object.
Parameters
Name | Required/Optional | Data Type | Description |
---|---|---|---|
FieldName | Required | String | The name of the field whose constant is required. |
FieldType | Optional | Long | The type of field. Can be one of the following PjFieldType constants: pjResource or pjTask. The default value is pjTask. |
Return Value
PjField
See Also