Class GroupCriterionCollection
Namespace: Aspose.Tasks
Assembly: Aspose.Tasks.dll (25.2.0)
Contains a collection of Aspose.Tasks.GroupCriterion objects. Implements ICollection<GroupCriterion> interface.
public class GroupCriterionCollection : IList<groupcriterion>, ICollection<groupcriterion>, IEnumerable<groupcriterion>, IEnumerable
Inheritance
object ← GroupCriterionCollection
Implements
IList<groupcriterion>, ICollection<groupcriterion>, IEnumerable<groupcriterion>, 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 elements contained in this collection.
public int Count { get; }
Property Value
IsReadOnly
Gets a value indicating whether this collection is read-only; otherwise, false.
public bool IsReadOnly { get; }
Property Value
ParentGroup
Gets the parent of the GroupCriterion object.
[Obsolete("This member is obsolete and will be removed after release 25.6.")]
public Group ParentGroup { get; }
Property Value
Methods
Add(GroupCriterion)
Adds the specified item to this collection.
public void Add(GroupCriterion item)
Parameters
item
GroupCriterion
the specified item to add to this collection.
Clear()
Removes all items from this collection.
public void Clear()
Contains(GroupCriterion)
Returns true if the specified item is found in this collection; otherwise, false.
public bool Contains(GroupCriterion item)
Parameters
item
GroupCriterion
the specified item to find.
Returns
true if the specified item is found in this collection; otherwise, false.
CopyTo(GroupCriterion[], int)
Copies the elements of this collection to the specified array, starting at the specified array index.
public void CopyTo(GroupCriterion[] array, int arrayIndex)
Parameters
array
GroupCriterion[]
the specified one-dimensional array to copy elements to
arrayIndex
int
the zero-based index of the specified array at which copying begins.
GetEnumerator()
Returns an enumerator for this collection.
public IEnumerator<groupcriterion> GetEnumerator()
Returns
IEnumerator<GroupCriterion>
an enumerator for this collection.
Remove(GroupCriterion)
Removes the first occurrence of a specific object from this collection.
public bool Remove(GroupCriterion item)
Parameters
item
GroupCriterion
the specified object to remove.
Returns
true if the specified object was successfully removed from this collection; otherwise, false.
ToList()
Converts a GroupCriterion collection to a list of Aspose.Tasks.GroupCriterion objects.
public List<groupcriterion> ToList()
Returns
List<GroupCriterion>
Generic list of Aspose.Tasks.GroupCriterion objects. </groupcriterion></groupcriterion></groupcriterion>