Class SplitPartCollection

Class SplitPartCollection

Namespace: Aspose.Tasks
Assembly: Aspose.Tasks.dll (25.2.0)

Collection that represents the portions of a task.

public class SplitPartCollection : IList<splitpart>, ICollection<splitpart>, IEnumerable<splitpart>, IEnumerable

Inheritance

objectSplitPartCollection

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

int

this[int]

Retrieves a task’s split part at the given index.

public SplitPart this[int index] { get; set; }

Property Value

SplitPart

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&gt;

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. </splitpart></splitpart></splitpart>