Class SplitPartCollection
Namespace: Aspose.Tasks
Assembly: Aspose.Tasks.dll (25.12.0)
Collection that represents the portions of a task.
public class SplitPartCollection : IList<SplitPart>, ICollection<SplitPart>, IEnumerable<SplitPart>, IEnumerableInheritance
Implements
IList<SplitPart> , ICollection<SplitPart> , IEnumerable<SplitPart> , 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 parts in the collection.
public int Count { get; }Property Value
this[int]
Retrieves a task’s split part at the given index.
public SplitPart this[int index] { get; set; }Property Value
Remarks
The index is zero-based. Returns null if the index is outside array’s boundaries.
Methods
GetEnumerator()
Returns an enumerator for this collection.
public IEnumerator<SplitPart> GetEnumerator()Returns
IEnumerator < SplitPart >
an enumerator for this collection.
ToArray()
Copies all parts from the collection to a new array.
public SplitPart[] ToArray()Returns
SplitPart []
An array of Aspose.Tasks.SplitPart objects.