Class WorkWeekCollection
Namespace: Aspose.Tasks
Assembly: Aspose.Tasks.dll (25.2.0)
Represents a collection of Aspose.Tasks.WorkWeek objects.
public class WorkWeekCollection : IList<workweek>, ICollection<workweek>, IEnumerable<workweek>, IEnumerable
Inheritance
Implements
IList<workweek>, ICollection<workweek>, IEnumerable<workweek>, 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 Aspose.Tasks.WorkWeekCollection object.
public int Count { get; }
Property Value
ParentCalendar
Gets the parent calendar.
public Calendar ParentCalendar { get; }
Property Value
this[int]
Returns the element at the specified index.
public WorkWeek this[int index] { get; set; }
Property Value
Methods
Add(WorkWeek)
Adds WorkWeek instance to this collection object.
public void Add(WorkWeek item)
Parameters
item
WorkWeek
The item to add.
GetEnumerator()
Returns an enumerator for this collection.
public IEnumerator<workweek> GetEnumerator()
Returns
IEnumerator<WorkWeek>
an enumerator for this collection.
ToList()
Converts the WorkWeekCollection object to a list of Aspose.Tasks.WorkWeek objects.
public List<workweek> ToList()
Returns
List of Aspose.Tasks.WorkWeek objects. </workweek></workweek></workweek>