ExtendedAttributeDefinition

ExtendedAttributeDefinition class

Represents an extended attribute definition associated with a project.

Methods

NameDescription
AddLookupValueAdds a value to the internal lookup list. This is a preferable way for manipulations with the ValueList .
CreateExtendedAttribute (7 overloads)Creates a new extended attribute with the field ID which equals to this object’s field ID value.
CreateLookupResourceDefinition (2 overloads)Factory method which creates an extended attribute definition with lookup. It has CalculationType equals to Tasks::CalculationType::Lookup and can be used in Resources only. You are required to specify customFieldType , fieldId and alias when call this method.
CreateLookupTaskDefinition (2 overloads)Factory method which creates an extended attribute definition with lookup. It has CalculationType equals to Tasks::CalculationType::Lookup and can be used in Tasks only. You are required to specify customFieldType , fieldId and alias when call this method.
CreateResourceDefinition (2 overloads)Factory method which creates a simple extended attribute definition, which Microsoft Project shows as “None”. It has CalculationType equals to Tasks::CalculationType::None and can be used in Resource only. You are required to specify customFieldType , fieldId and alias when call this method.
CreateTaskDefinition (2 overloads)Factory method which creates a simple extended attribute definition, which Microsoft Project shows as “None”. It has CalculationType equals to Tasks::CalculationType::None and can be used in Tasks only. You are required to specify customFieldType , fieldId and alias when calling this method.
EqualsReturns a flag indicating whether this instance is equal to the specified object.
get_AliasGets the alias of a custom field.
get_AppendNewValuesGets a value indicating whether new values added to a project are automatically added to the list.
get_AutoRollDownGets a value indicating whether an automatic roll down to assignments is enabled.
get_CalculationTypeGets the type of calculation of the custom attribute’s value.
get_CfTypeGets the type of a custom field.
get_DefaultGets the default value in the list.
get_DefaultGuidGets the Guid of the default lookup table entry.
get_ElementTypeGets the extended attribute is associated with a task, a resource or an assignment.
get_FieldIdGets corresponds to the project id of a custom field. Use string representation of a constant from Aspose::Tasks::ExtendedAttributeTask class to specify FieldId property.
get_FieldNameGets the name of a custom field.
get_FormulaGets the formula that Microsoft Project uses to populate a custom task field.
get_GraphicalIndicatorGets a graphical indicators info associated with the extended attribute. Applicable to MPP format.
get_GuidGets the Guid of a custom field.
get_LookupUidGets a Guid of the lookup table associated with a custom field.
get_MaxMultiValuesGets the maximum number of values you can set in a pick list.
get_ParentProjectGets the parent project for the ExtendedAttributeDefinition instance.
get_PhoneticsAliasGets the phonetic pronunciation of the alias of a custom field.
get_RestrictValuesGets a value indicating whether the custom field values are restricted to values in the ValueList .
get_RollupTypeGets the way rollups are calculated.
get_SecondaryGuidGets the secondary guid of extended attribute.
get_SecondaryPidGets the secondary PID of a custom field.
get_SummaryRowsCalculationTypeGets the type of calculation of the custom attribute’s value for summary rows.
get_UserDefGets a value indicating whether a custom field is user defined.
get_ValueListGets the List< Value > ValueList.
get_ValuelistSortOrderGets the way value lists are sorted. Values are: 0=Descending, 1=Ascending.
GetHashCodeReturns a hash code for the instance of the ExtendedAttributeDefinition class.
RemoveLookupValueRemoves a value from the internal lookup list. This is a preferable way for manipulations with the ValueList .
set_AliasSets the alias of a custom field.
set_AppendNewValuesSets a value indicating whether new values added to a project are automatically added to the list.
set_AutoRollDownSets a value indicating whether an automatic roll down to assignments is enabled.
set_CalculationTypeSets the type of calculation of the custom attribute’s value.
set_DefaultSets the default value in the list.
set_DefaultGuidSets the Guid of the default lookup table entry.
set_ElementTypeSets the extended attribute is associated with a task, a resource or an assignment.
set_FieldIdSets corresponds to the project id of a custom field. Use string representation of a constant from Aspose::Tasks::ExtendedAttributeTask class to specify FieldId property.
set_FormulaSets the formula that Microsoft Project uses to populate a custom task field.
set_GraphicalIndicatorSets a graphical indicators info associated with the extended attribute. Applicable to MPP format.
set_GuidSets the Guid of a custom field.
set_MaxMultiValuesSets the maximum number of values you can set in a pick list.
set_PhoneticsAliasSets the phonetic pronunciation of the alias of a custom field.
set_RestrictValuesSets a value indicating whether the custom field values are restricted to values in the ValueList .
set_RollupTypeSets the way rollups are calculated.
set_SecondaryGuidSets the secondary guid of extended attribute.
set_SecondaryPidSets the secondary PID of a custom field.
set_SummaryRowsCalculationTypeSets the type of calculation of the custom attribute’s value for summary rows.
set_UserDefSets a value indicating whether a custom field is user defined.
set_ValuelistSortOrderSets the way value lists are sorted. Values are: 0=Descending, 1=Ascending.