Class WorkingTimeCollection
Název místa: Aspose.Tasks Shromáždění: Aspose.Tasks.dll (25.4.0)
Představuje sbírku objektů Aspose.Tasks.WorkingTimeCollection.
public class WorkingTimeCollection : IList<workingtime>, ICollection<workingtime>, IEnumerable<workingtime>, IEnumerable
Inheritance
object ← WorkingTimeCollection
Implements
IList
Dědiční členové
object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Properties
Count
Získáte počet objektů obsažených v tomto objektu Aspose.Tasks.WorkingTimeCollection.
public int Count { get; }
Hodnota nemovitosti
Tohle[Int]
Vraťte prvek do specifikovaného indexu.
public WorkingTime this[int index] { get; set; }
Hodnota nemovitosti
Methods
Add(WorkingTime)
Přidejte do této sbírky nový příklad WorkingTime.
public bool Add(WorkingTime item)
Parameters
item
WorkingTime
lánek k přidán.
Returns
je pravdivý, pokud byl objekt WorkingTime úspěšně přidán; jinak je falešn.
Clear()
Odstraňuje všechny položky Aspose.Tasks.WorkingTime z kolekce.
public void Clear()
Contains(WorkingTime)
Zkontrolujte, zda je uvedený prvek v seznamu.Provádí lineární O(n) vyhledáván.
public bool Contains(WorkingTime item)
Parameters
item
WorkingTime
specifikované položky.
Returns
Pravda, pokud specifikovaný prvek je nalezen v seznamu, falešný jinak.
CopyTo(WorkingTime[]a[], a int)
kopíruje obsah sbírky do Array, počínaje konkrétním indexem
public void CopyTo(WorkingTime[] array, int arrayIndex)
Parameters
array
WorkingTime
[]a[]
Některé kousky kopírovat.
arrayIndex
int
Začátek array index
GetEnumerator()
Vraťte seznam pro tuto sbírku.
public IEnumerator<workingtime> GetEnumerator()
Returns
Seznam pro tuto sbírku.
Remove(WorkingTime)
Odstraňuje příklad Aspose.Tasks.WorkingTime z této sbírky.
public bool Remove(WorkingTime item)
Parameters
item
WorkingTime
Předmět k odstraněn.
Returns
pravdivý, pokud byl příklad WorkingTime úspěšně odstraněn z této sbírky; jinak falešn.
ToList()
Konvertuje objekt WorkingTimeCollection na seznam objektů Aspose.Tasks.WorkingTime.
public List<workingtime> ToList()
Returns
List < WorkingTime >
Seznam objektů Aspose.Tasks.WorkingTime.