ExtendedAttribute.ToString
ExtendedAttribute.ToString method
Returns short string representation of an extended attribute.
public override string ToString()
Return Value
The string representation of the extended attribute.
Examples
Shows how to read extended attributes.
var project = new Project(DataDir + "ReadTaskExtendedAttributes.mpp");
// Read extended attributes for tasks
foreach (var task in project.RootTask.Children)
{
foreach (var attribute in task.ExtendedAttributes)
{
// read common info about extended attribute
Console.WriteLine("Extended Attribute: " + attribute.ToString());
}
}
See Also
- class ExtendedAttribute
- namespace Aspose.Tasks
- assembly Aspose.Tasks