Class BaselineCollection
Namespace: Aspose.Tasks
Assembly: Aspose.Tasks.dll (25.2.0)
Represents a collection of Aspose.Tasks.Baseline objects.
public class BaselineCollection : IList<baseline>, ICollection<baseline>, IEnumerable<baseline>, IEnumerable
Inheritance
Implements
IList<baseline>, ICollection<baseline>, IEnumerable<baseline>, 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 BaselineCollection object.
public int Count { get; }
Property Value
ParentResource
Gets the parent Aspose.Tasks.Resource for this collection.
public Resource ParentResource { get; }
Property Value
this[int]
Returns the element at the specified index.
public Baseline this[int index] { get; set; }
Property Value
Methods
Add(Baseline)
This is the stub implementation of ICollection’s Add method, that only throws NotSupportedException
public void Add(Baseline item)
Parameters
item
Baseline
The item to remove.
GetEnumerator()
Returns an enumerator for this collection.
public IEnumerator<baseline> GetEnumerator()
Returns
IEnumerator<Baseline>
an enumerator for this collection.
Remove(Baseline)
Removes baseline from this collection.
public bool Remove(Baseline item)
Parameters
item
Baseline
The item to remove.
Returns
true if Aspose.Tasks.Baseline instance has been removed successfully; otherwise, false
ToList()
Converts the BaselineCollection object to a list of Aspose.Tasks.Baseline objects.
public List<baseline> ToList()
Returns
List of Aspose.Tasks.Baseline objects. </baseline></baseline></baseline>