Class WorkWeekCollection

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

objectWorkWeekCollection

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

int

ParentCalendar

Gets the parent calendar.

public Calendar ParentCalendar { get; }

Property Value

Calendar

this[int]

Returns the element at the specified index.

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

Property Value

WorkWeek

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

an enumerator for this collection.

ToList()

Converts the WorkWeekCollection object to a list of Aspose.Tasks.WorkWeek objects.

public List<workweek> ToList()

Returns

List<WorkWeek&gt;

List of Aspose.Tasks.WorkWeek objects. </workweek></workweek></workweek>