Aspose.Tasks for C++
|
Represents an extended attribute definition associated with a project. More...
#include <ExtendedAttributeDefinition.h>
Inherits System::Object.
Public Member Functions | |
System::String | get_FieldId () const |
Gets corresponds to the project id of a custom field. Use string representation of a constant from Aspose::Tasks::ExtendedAttributeTask class to specify FieldId property. More... | |
void | set_FieldId (const System::String &value) |
Sets corresponds to the project id of a custom field. Use string representation of a constant from Aspose::Tasks::ExtendedAttributeTask class to specify FieldId property. More... | |
System::String | get_FieldName () const |
Gets the name of a custom field. More... | |
CustomFieldType | get_CfType () |
Gets the type of a custom field. More... | |
System::String | get_Guid () const |
Gets the Guid of a custom field. More... | |
void | set_Guid (const System::String &value) |
Sets the Guid of a custom field. More... | |
Aspose::Tasks::ElementType | get_ElementType () |
Gets the extended attribute is associated with a task, a resource or an assignment. More... | |
void | set_ElementType (Aspose::Tasks::ElementType value) |
Sets the extended attribute is associated with a task, a resource or an assignment. More... | |
int32_t | get_MaxMultiValues () const |
Gets the maximum number of values you can set in a pick list. More... | |
void | set_MaxMultiValues (int32_t value) |
Sets the maximum number of values you can set in a pick list. More... | |
bool | get_UserDef () const |
Gets a value indicating whether a custom field is user defined. More... | |
void | set_UserDef (bool value) |
Sets a value indicating whether a custom field is user defined. More... | |
System::String | get_Alias () const |
Gets the alias of a custom field. More... | |
void | set_Alias (const System::String &value) |
Sets the alias of a custom field. More... | |
System::String | get_SecondaryPid () const |
Gets the secondary PID of a custom field. More... | |
void | set_SecondaryPid (const System::String &value) |
Sets the secondary PID of a custom field. More... | |
bool | get_AutoRollDown () const |
Gets a value indicating whether an automatic roll down to assignments is enabled. More... | |
void | set_AutoRollDown (bool value) |
Sets a value indicating whether an automatic roll down to assignments is enabled. More... | |
System::String | get_DefaultGuid () const |
Gets the Guid of the default lookup table entry. More... | |
void | set_DefaultGuid (const System::String &value) |
Sets the Guid of the default lookup table entry. More... | |
System::String | get_LookupUid () const |
Gets a Guid of the lookup table associated with a custom field. More... | |
System::String | get_PhoneticsAlias () const |
Gets the phonetic pronunciation of the alias of a custom field. More... | |
void | set_PhoneticsAlias (const System::String &value) |
Sets the phonetic pronunciation of the alias of a custom field. More... | |
Aspose::Tasks::RollupType | get_RollupType () const |
Gets the way rollups are calculated. More... | |
void | set_RollupType (Aspose::Tasks::RollupType value) |
Sets the way rollups are calculated. More... | |
Aspose::Tasks::CalculationType | get_CalculationType () const |
Gets the type of calculation of the custom attribute's value. More... | |
void | set_CalculationType (Aspose::Tasks::CalculationType value) |
Sets the type of calculation of the custom attribute's value. More... | |
Aspose::Tasks::SummaryRowsCalculationType | get_SummaryRowsCalculationType () const |
Gets the type of calculation of the custom attribute's value for summary rows. More... | |
void | set_SummaryRowsCalculationType (Aspose::Tasks::SummaryRowsCalculationType value) |
Sets the type of calculation of the custom attribute's value for summary rows. More... | |
System::String | get_Formula () |
Gets the formula that Microsoft Project uses to populate a custom task field. More... | |
void | set_Formula (const System::String &value) |
Sets the formula that Microsoft Project uses to populate a custom task field. More... | |
const System::SharedPtr< GraphicalIndicatorsInfo > & | get_GraphicalIndicator () const |
Gets a graphical indicators info associated with the extended attribute. Applicable to MPP format. More... | |
void | set_GraphicalIndicator (const System::SharedPtr< GraphicalIndicatorsInfo > &value) |
Sets a graphical indicators info associated with the extended attribute. Applicable to MPP format. More... | |
bool | get_RestrictValues () const |
Gets a value indicating whether the custom field values are restricted to values in the ValueList. More... | |
void | set_RestrictValues (bool value) |
Sets a value indicating whether the custom field values are restricted to values in the ValueList. More... | |
int32_t | get_ValuelistSortOrder () const |
Gets the way value lists are sorted. Values are: 0=Descending, 1=Ascending. More... | |
void | set_ValuelistSortOrder (int32_t value) |
Sets the way value lists are sorted. Values are: 0=Descending, 1=Ascending. More... | |
bool | get_AppendNewValues () const |
Gets a value indicating whether new values added to a project are automatically added to the list. More... | |
void | set_AppendNewValues (bool value) |
Sets a value indicating whether new values added to a project are automatically added to the list. More... | |
System::String | get_Default () const |
Gets the default value in the list. More... | |
void | set_Default (const System::String &value) |
Sets the default value in the list. More... | |
const System::SharedPtr< System::Collections::Generic::List< System::SharedPtr< Value > > > & | get_ValueList () const |
Gets the List<Value> ValueList. More... | |
System::String | get_SecondaryGuid () const |
Gets the secondary guid of extended attribute. More... | |
void | set_SecondaryGuid (const System::String &value) |
Sets the secondary guid of extended attribute. More... | |
System::SharedPtr< Project > | get_ParentProject () const |
Gets the parent project for the ExtendedAttributeDefinition instance. More... | |
void | AddLookupValue (const System::SharedPtr< Value > &value) |
Adds a value to the internal lookup list. This is a preferable way for manipulations with the ValueList. More... | |
void | RemoveLookupValue (const System::SharedPtr< Value > &value) |
Removes a value from the internal lookup list. This is a preferable way for manipulations with the ValueList. More... | |
System::SharedPtr< ExtendedAttribute > | CreateExtendedAttribute () |
Creates a new extended attribute with the field ID which equals to this object's field ID value. More... | |
System::SharedPtr< ExtendedAttribute > | CreateExtendedAttribute (const System::String &textValue) |
Creates a new extended attribute with the field ID which equals to this object's field ID value and the specified text value. More... | |
System::SharedPtr< ExtendedAttribute > | CreateExtendedAttribute (System::Decimal numericValue) |
Creates a new extended attribute with the field ID which equals to this object's field ID value and the specified numeric value. More... | |
System::SharedPtr< ExtendedAttribute > | CreateExtendedAttribute (System::DateTime dateTimeValue) |
Creates a new extended attribute with the field ID which equals to this object's field ID value and the specified date value. More... | |
System::SharedPtr< ExtendedAttribute > | CreateExtendedAttribute (Duration durationValue) |
Creates a new extended attribute with the field ID which equals to this object's field ID value and the specified duration value. More... | |
System::SharedPtr< ExtendedAttribute > | CreateExtendedAttribute (bool flagValue) |
Creates a new extended attribute with the field ID which equals to this object's field ID value and the specified flag value. More... | |
System::SharedPtr< ExtendedAttribute > | CreateExtendedAttribute (const System::SharedPtr< Value > &lookupValue) |
Creates new extended attribute linked with specified Value item. More... | |
bool | Equals (System::SharedPtr< System::Object > obj) override |
Returns a flag indicating whether this instance is equal to the specified object. More... | |
int32_t | GetHashCode () const override |
Returns a hash code for the instance of the ExtendedAttributeDefinition class. More... | |
Static Public Member Functions | |
static System::SharedPtr< ExtendedAttributeDefinition > | CreateTaskDefinition (CustomFieldType customFieldType, ExtendedAttributeTask fieldId, const System::String &alias) |
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. More... | |
static System::SharedPtr< ExtendedAttributeDefinition > | CreateTaskDefinition (ExtendedAttributeTask fieldId, const System::String &alias) |
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 fieldId and alias when calling this method. The field type is inferred from field id. More... | |
static System::SharedPtr< ExtendedAttributeDefinition > | CreateResourceDefinition (CustomFieldType customFieldType, ExtendedAttributeResource fieldId, const System::String &alias) |
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. More... | |
static System::SharedPtr< ExtendedAttributeDefinition > | CreateResourceDefinition (ExtendedAttributeResource fieldId, const System::String &alias) |
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 fieldId and alias when call this method. The field type is inferred from field id. More... | |
static System::SharedPtr< ExtendedAttributeDefinition > | CreateLookupTaskDefinition (ExtendedAttributeTask fieldId, const System::String &alias) |
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 fieldId and alias when call this method. The field type is inferred from field id. More... | |
static System::SharedPtr< ExtendedAttributeDefinition > | CreateLookupTaskDefinition (CustomFieldType customFieldType, ExtendedAttributeTask fieldId, const System::String &alias) |
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. More... | |
static System::SharedPtr< ExtendedAttributeDefinition > | CreateLookupResourceDefinition (ExtendedAttributeResource fieldId, const System::String &alias) |
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 fieldId and alias when call this method. The field type is inferred from field id. More... | |
static System::SharedPtr< ExtendedAttributeDefinition > | CreateLookupResourceDefinition (CustomFieldType customFieldType, ExtendedAttributeResource fieldId, const System::String &alias) |
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. More... | |
Represents an extended attribute definition associated with a project.
void Aspose::Tasks::ExtendedAttributeDefinition::AddLookupValue | ( | const System::SharedPtr< Value > & | value | ) |
Adds a value to the internal lookup list. This is a preferable way for manipulations with the ValueList.
value | Value to add into lookup. |
This method works only for ExtendedAttributeDefinition instances which have CalculationType equals to Tasks::CalculationType::Lookup.
Use this code to add new Value to lookup list:
System::SharedPtr<ExtendedAttribute> Aspose::Tasks::ExtendedAttributeDefinition::CreateExtendedAttribute | ( | ) |
Creates a new extended attribute with the field ID which equals to this object's field ID value.
System::SharedPtr<ExtendedAttribute> Aspose::Tasks::ExtendedAttributeDefinition::CreateExtendedAttribute | ( | bool | flagValue | ) |
Creates a new extended attribute with the field ID which equals to this object's field ID value and the specified flag value.
flagValue | The specified flag value. |
InvalidOperationException | If current CfType is not 'Flag' |
System::SharedPtr<ExtendedAttribute> Aspose::Tasks::ExtendedAttributeDefinition::CreateExtendedAttribute | ( | const System::SharedPtr< Value > & | lookupValue | ) |
Creates new extended attribute linked with specified Value item.
lookupValue | The specified Value item. |
lookupValue should be previously added to the ExtendedAttributeDefinition using AddLookupValue method.
Use this code to create new ExtendedAttribute using specific value:
System::SharedPtr<ExtendedAttribute> Aspose::Tasks::ExtendedAttributeDefinition::CreateExtendedAttribute | ( | const System::String & | textValue | ) |
Creates a new extended attribute with the field ID which equals to this object's field ID value and the specified text value.
textValue | The specified text value. |
InvalidOperationException | If current CfType is not 'Text' |
System::SharedPtr<ExtendedAttribute> Aspose::Tasks::ExtendedAttributeDefinition::CreateExtendedAttribute | ( | Duration | durationValue | ) |
Creates a new extended attribute with the field ID which equals to this object's field ID value and the specified duration value.
durationValue | The specified duration value. |
System::SharedPtr<ExtendedAttribute> Aspose::Tasks::ExtendedAttributeDefinition::CreateExtendedAttribute | ( | System::DateTime | dateTimeValue | ) |
Creates a new extended attribute with the field ID which equals to this object's field ID value and the specified date value.
dateTimeValue | The specified date time value. |
InvalidOperationException | If current CfType is not 'Date', 'Start' or 'Finish' |
System::SharedPtr<ExtendedAttribute> Aspose::Tasks::ExtendedAttributeDefinition::CreateExtendedAttribute | ( | System::Decimal | numericValue | ) |
Creates a new extended attribute with the field ID which equals to this object's field ID value and the specified numeric value.
numericValue | The specified numeric value. |
InvalidOperationException | If current CfType is not 'Number' or 'Cost' |
|
static |
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.
customFieldType | The specified CustomFieldType type. |
fieldId | The specified ExtendedAttributeResource field ID. |
alias | The specified System::String alias. |
Use this example to create a custom field definition for a resource with lookup and then fill it with text values:
|
static |
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 fieldId and alias when call this method. The field type is inferred from field id.
fieldId | The specified ExtendedAttributeResource field ID. |
alias | The specified System::String alias. |
Use this example to create a custom field definition for a resource with lookup and then fill it with text values:
|
static |
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.
customFieldType | The specified CustomFieldType type. |
fieldId | The specified ExtendedAttributeTask field ID. |
alias | The specified System::String alias. |
Use this example to create a custom field definition for a task with lookup and then fill it with text values:
|
static |
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 fieldId and alias when call this method. The field type is inferred from field id.
fieldId | The specified ExtendedAttributeTask field ID. |
alias | The specified System::String alias. |
Use this example to create a custom field definition for a task with lookup and then fill it with text values:
|
static |
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.
customFieldType | The specified CustomFieldType type. |
fieldId | The specified ExtendedAttributeResource field ID. |
alias | The specified System::String alias. |
Use this example to create a custom text field definition:
|
static |
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 fieldId and alias when call this method. The field type is inferred from field id.
fieldId | The specified ExtendedAttributeResource field ID. |
alias | The specified System::String alias. |
Use this example to create a custom text field definition:
|
static |
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.
customFieldType | The specified CustomFieldType type. |
fieldId | The specified ExtendedAttributeTask field ID. |
alias | The specified System::String alias. |
Use this example to create a custom text field definition:
|
static |
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 fieldId and alias when calling this method. The field type is inferred from field id.
fieldId | The specified ExtendedAttributeTask field ID. |
alias | The specified System::String alias. |
Use this example to create a custom text field definition:
|
override |
Returns a flag indicating whether this instance is equal to the specified object.
obj | the specified object to compare to this instance. |
System::String Aspose::Tasks::ExtendedAttributeDefinition::get_Alias | ( | ) | const |
Gets the alias of a custom field.
bool Aspose::Tasks::ExtendedAttributeDefinition::get_AppendNewValues | ( | ) | const |
Gets a value indicating whether new values added to a project are automatically added to the list.
Currently supported for MSP 2003/2007 Xml and MSP 2003 mpp formats.
bool Aspose::Tasks::ExtendedAttributeDefinition::get_AutoRollDown | ( | ) | const |
Gets a value indicating whether an automatic roll down to assignments is enabled.
Aspose::Tasks::CalculationType Aspose::Tasks::ExtendedAttributeDefinition::get_CalculationType | ( | ) | const |
Gets the type of calculation of the custom attribute's value.
CustomFieldType Aspose::Tasks::ExtendedAttributeDefinition::get_CfType | ( | ) |
Gets the type of a custom field.
System::String Aspose::Tasks::ExtendedAttributeDefinition::get_Default | ( | ) | const |
Gets the default value in the list.
Currently supported for MSP 2003/2007 Xml and MSP 2003 mpp formats.
System::String Aspose::Tasks::ExtendedAttributeDefinition::get_DefaultGuid | ( | ) | const |
Gets the Guid of the default lookup table entry.
Aspose::Tasks::ElementType Aspose::Tasks::ExtendedAttributeDefinition::get_ElementType | ( | ) |
Gets the extended attribute is associated with a task, a resource or an assignment.
System::String Aspose::Tasks::ExtendedAttributeDefinition::get_FieldId | ( | ) | const |
Gets corresponds to the project id of a custom field. Use string representation of a constant from Aspose::Tasks::ExtendedAttributeTask class to specify FieldId property.
Preferable way to set FieldId property is to create ExtendedAttributeDefinition using one of the dedicated factory methods like CreateTaskDefinition(ExtendedAttributeTask, string) or CreateLookupTaskDefinition(CustomFieldType, ExtendedAttributeTask, string).
System::String Aspose::Tasks::ExtendedAttributeDefinition::get_FieldName | ( | ) | const |
Gets the name of a custom field.
Should not be set directly, instead create ExtendedAttributeDefinition using strongly typed static factory methods named like Create*Definition().
System::String Aspose::Tasks::ExtendedAttributeDefinition::get_Formula | ( | ) |
Gets the formula that Microsoft Project uses to populate a custom task field.
const System::SharedPtr<GraphicalIndicatorsInfo>& Aspose::Tasks::ExtendedAttributeDefinition::get_GraphicalIndicator | ( | ) | const |
Gets a graphical indicators info associated with the extended attribute. Applicable to MPP format.
System::String Aspose::Tasks::ExtendedAttributeDefinition::get_Guid | ( | ) | const |
Gets the Guid of a custom field.
Currently supported for Xml format only.
System::String Aspose::Tasks::ExtendedAttributeDefinition::get_LookupUid | ( | ) | const |
Gets a Guid of the lookup table associated with a custom field.
In order to create a custom field with lookup, use one of the factory methods: CreateLookupTaskDefinition(CustomFieldType, ExtendedAttributeTask, string) or CreateLookupResourceDefinition(CustomFieldType, ExtendedAttributeResource, string).
int32_t Aspose::Tasks::ExtendedAttributeDefinition::get_MaxMultiValues | ( | ) | const |
Gets the maximum number of values you can set in a pick list.
Currently supported for Xml format only.
System::SharedPtr<Project> Aspose::Tasks::ExtendedAttributeDefinition::get_ParentProject | ( | ) | const |
Gets the parent project for the ExtendedAttributeDefinition instance.
System::String Aspose::Tasks::ExtendedAttributeDefinition::get_PhoneticsAlias | ( | ) | const |
Gets the phonetic pronunciation of the alias of a custom field.
Currently supported for Xml format only.
bool Aspose::Tasks::ExtendedAttributeDefinition::get_RestrictValues | ( | ) | const |
Gets a value indicating whether the custom field values are restricted to values in the ValueList.
Aspose::Tasks::RollupType Aspose::Tasks::ExtendedAttributeDefinition::get_RollupType | ( | ) | const |
Gets the way rollups are calculated.
Writing currently supported for Xml format only.
System::String Aspose::Tasks::ExtendedAttributeDefinition::get_SecondaryGuid | ( | ) | const |
Gets the secondary guid of extended attribute.
This is new for MS Project 2010 property.
System::String Aspose::Tasks::ExtendedAttributeDefinition::get_SecondaryPid | ( | ) | const |
Gets the secondary PID of a custom field.
Aspose::Tasks::SummaryRowsCalculationType Aspose::Tasks::ExtendedAttributeDefinition::get_SummaryRowsCalculationType | ( | ) | const |
Gets the type of calculation of the custom attribute's value for summary rows.
bool Aspose::Tasks::ExtendedAttributeDefinition::get_UserDef | ( | ) | const |
Gets a value indicating whether a custom field is user defined.
Currently supported for Xml format only.
const System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<Value> > >& Aspose::Tasks::ExtendedAttributeDefinition::get_ValueList | ( | ) | const |
Gets the List<Value> ValueList.
When values of extended attributes are specified as properties of elements in the schema, they may either be specified by values or by references to the values contained in this list. Applications may assume ordering of the list by ordering specified here. Currently supported for MSP 2003/2007 Xml and MSP 2003 mpp formats. Do not change this list directly. Use ExtendedAttributeDefinition.AddLookupValue/RemoveLookupValue methods instead.
int32_t Aspose::Tasks::ExtendedAttributeDefinition::get_ValuelistSortOrder | ( | ) | const |
Gets the way value lists are sorted. Values are: 0=Descending, 1=Ascending.
Currently supported for MSP 2003/2007 Xml and MSP 2003 mpp formats.
|
override |
Returns a hash code for the instance of the ExtendedAttributeDefinition class.
void Aspose::Tasks::ExtendedAttributeDefinition::RemoveLookupValue | ( | const System::SharedPtr< Value > & | value | ) |
Removes a value from the internal lookup list. This is a preferable way for manipulations with the ValueList.
value | Value to remove from lookup. |
This method works only for ExtendedAttributeDefinition instances which have CalculationType equals to Tasks::CalculationType::Lookup.
void Aspose::Tasks::ExtendedAttributeDefinition::set_Alias | ( | const System::String & | value | ) |
Sets the alias of a custom field.
void Aspose::Tasks::ExtendedAttributeDefinition::set_AppendNewValues | ( | bool | value | ) |
Sets a value indicating whether new values added to a project are automatically added to the list.
Currently supported for MSP 2003/2007 Xml and MSP 2003 mpp formats.
void Aspose::Tasks::ExtendedAttributeDefinition::set_AutoRollDown | ( | bool | value | ) |
Sets a value indicating whether an automatic roll down to assignments is enabled.
void Aspose::Tasks::ExtendedAttributeDefinition::set_CalculationType | ( | Aspose::Tasks::CalculationType | value | ) |
Sets the type of calculation of the custom attribute's value.
void Aspose::Tasks::ExtendedAttributeDefinition::set_Default | ( | const System::String & | value | ) |
Sets the default value in the list.
Currently supported for MSP 2003/2007 Xml and MSP 2003 mpp formats.
void Aspose::Tasks::ExtendedAttributeDefinition::set_DefaultGuid | ( | const System::String & | value | ) |
Sets the Guid of the default lookup table entry.
void Aspose::Tasks::ExtendedAttributeDefinition::set_ElementType | ( | Aspose::Tasks::ElementType | value | ) |
Sets the extended attribute is associated with a task, a resource or an assignment.
void Aspose::Tasks::ExtendedAttributeDefinition::set_FieldId | ( | const System::String & | value | ) |
Sets corresponds to the project id of a custom field. Use string representation of a constant from Aspose::Tasks::ExtendedAttributeTask class to specify FieldId property.
Preferable way to set FieldId property is to create ExtendedAttributeDefinition using one of the dedicated factory methods like CreateTaskDefinition(ExtendedAttributeTask, string) or CreateLookupTaskDefinition(CustomFieldType, ExtendedAttributeTask, string).
void Aspose::Tasks::ExtendedAttributeDefinition::set_Formula | ( | const System::String & | value | ) |
Sets the formula that Microsoft Project uses to populate a custom task field.
void Aspose::Tasks::ExtendedAttributeDefinition::set_GraphicalIndicator | ( | const System::SharedPtr< GraphicalIndicatorsInfo > & | value | ) |
Sets a graphical indicators info associated with the extended attribute. Applicable to MPP format.
void Aspose::Tasks::ExtendedAttributeDefinition::set_Guid | ( | const System::String & | value | ) |
Sets the Guid of a custom field.
Currently supported for Xml format only.
void Aspose::Tasks::ExtendedAttributeDefinition::set_MaxMultiValues | ( | int32_t | value | ) |
Sets the maximum number of values you can set in a pick list.
Currently supported for Xml format only.
void Aspose::Tasks::ExtendedAttributeDefinition::set_PhoneticsAlias | ( | const System::String & | value | ) |
Sets the phonetic pronunciation of the alias of a custom field.
Currently supported for Xml format only.
void Aspose::Tasks::ExtendedAttributeDefinition::set_RestrictValues | ( | bool | value | ) |
Sets a value indicating whether the custom field values are restricted to values in the ValueList.
void Aspose::Tasks::ExtendedAttributeDefinition::set_RollupType | ( | Aspose::Tasks::RollupType | value | ) |
Sets the way rollups are calculated.
Writing currently supported for Xml format only.
void Aspose::Tasks::ExtendedAttributeDefinition::set_SecondaryGuid | ( | const System::String & | value | ) |
Sets the secondary guid of extended attribute.
This is new for MS Project 2010 property.
void Aspose::Tasks::ExtendedAttributeDefinition::set_SecondaryPid | ( | const System::String & | value | ) |
Sets the secondary PID of a custom field.
void Aspose::Tasks::ExtendedAttributeDefinition::set_SummaryRowsCalculationType | ( | Aspose::Tasks::SummaryRowsCalculationType | value | ) |
Sets the type of calculation of the custom attribute's value for summary rows.
void Aspose::Tasks::ExtendedAttributeDefinition::set_UserDef | ( | bool | value | ) |
Sets a value indicating whether a custom field is user defined.
Currently supported for Xml format only.
void Aspose::Tasks::ExtendedAttributeDefinition::set_ValuelistSortOrder | ( | int32_t | value | ) |
Sets the way value lists are sorted. Values are: 0=Descending, 1=Ascending.
Currently supported for MSP 2003/2007 Xml and MSP 2003 mpp formats.