Class TaskBaselineCollection
Namespace: Aspose.Tasks
Assembly: Aspose.Tasks.dll (25.2.0)
Represents a collection of Aspose.Tasks.TaskBaseline objects.
public class TaskBaselineCollection : IList<taskbaseline>, ICollection<taskbaseline>, IEnumerable<taskbaseline>, IEnumerable
Inheritance
object ← TaskBaselineCollection
Implements
IList<taskbaseline>, ICollection<taskbaseline>, IEnumerable<taskbaseline>, IEnumerable
Inherited Members
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Properties
Count
Gets the number of objects contained in this TaskBaselineCollection object.
public int Count { get; }
Property Value
this[int]
Returns the element at the specified index.
public TaskBaseline this[int index] { get; set; }
Property Value
Methods
Add(TaskBaseline)
This is the stub implementation of ICollection’s Add method, that only throws NotSupportedException
public void Add(TaskBaseline item)
Parameters
item
TaskBaseline
The item to add.
GetEnumerator()
Returns an enumerator for this collection.
public IEnumerator<taskbaseline> GetEnumerator()
Returns
an enumerator for this collection.
Remove(TaskBaseline)
Removes baseline from this collection.
public bool Remove(TaskBaseline item)
Parameters
item
TaskBaseline
The item to remove.
Returns
true if the item has been removed successfully; otherwise, false
ToList()
Converts the TaskBaselineCollection object to a list of Aspose.Tasks.TaskBaseline objects.
public List<taskbaseline> ToList()
Returns
List<TaskBaseline>
List of Aspose.Tasks.TaskBaseline objects. </taskbaseline></taskbaseline></taskbaseline>