ExtendedAttribute

ExtendedAttribute class

Represents extended attributes.

Currently supported all types of Extended attributes reading from MSP Xml 2003/2007 and mpp 2003. For MSP mpp 2007 all Extended attributes reading supported except durations and flags.

Methods

NameDescription
get_AttributeDefinitionGets the attribute definition.
get_DateValueGets a value for attributes with date types (Date, Start, Finish).
get_DurationValueGets value for attributes with ’ Duration ’ type.
get_FieldIdGets the id of a field.
get_FlagValueGets a value indicating whether a flag is set for an attribute with ‘Flag’ type.
get_IsErrorValueGets whether calculation of extended attribute’s value resulted in an error.
get_NumericValueGets a value for attributes with numeric types (Cost, Number).
get_TextValueGets a value for attributes with ‘Text’ type.
get_ValueGuidGets the guid of a lookup value.
get_ValueReadOnlyGets a value indicating whether a value of this ExtendedAttribute instance is read-only. returns true if a formula or rollup is defined in the ExtendedAttributeDefinition for this object.
set_DateValueSets a value for attributes with date types (Date, Start, Finish).
set_DurationValueSets value for attributes with ’ Duration ’ type.
set_FlagValueSets a value indicating whether a flag is set for an attribute with ‘Flag’ type.
set_NumericValueSets a value for attributes with numeric types (Cost, Number).
set_TextValueSets a value for attributes with ‘Text’ type.
ToStringReturns short string representation of an extended attribute.