Enum CustomFieldType
Contents
[
Hide
]CustomFieldType enumeration
Specifies the type of a custom field.
public enum CustomFieldType
Values
Name | Value | Description |
---|---|---|
Null | 0 | Indicates Null custom field type. |
Cost | 1 | Indicates Cost custom field type. |
Date | 2 | Indicates Date custom field type. |
Duration | 3 | Indicates Duration custom field type. |
Finish | 4 | Indicates Finish custom field type. |
Flag | 5 | Indicates Flag custom field type. |
Number | 6 | Indicates Number custom field type. |
Start | 7 | Indicates Start custom field type. |
Text | 8 | Indicates Text custom field type. |
OutlineCode | 9 | Indicates Outline Code custom field type. |
RBS | 10 | Indicates RBS (Resource Breakdown Structure) custom field type. |
Examples
Shows how to use <see cref=“CustomFieldType” /> (CustomFieldType.Text).
var project = new Project(DataDir + "Project2.mpp");
var definition = ExtendedAttributeDefinition.CreateTaskDefinition(
CustomFieldType.Text,
ExtendedAttributeTask.Text1,
"MyText");
project.ExtendedAttributes.Add(definition);
// work with definitions...
See Also
- namespace Aspose.Tasks
- assembly Aspose.Tasks