Class CalendarExceptionCollection
Nom dels espais: Aspose.Tasks Assemblea: Aspose.Tasks.dll (25.4.0)
Representa una col·lecció d’objectes Aspose.Tasks.CalendarExcepci.
public class CalendarExceptionCollection : IList<calendarexception>, ICollection<calendarexception>, IEnumerable<calendarexception>, IEnumerable
Inheritance
object ← CalendarExceptionCollection
Implements
IList
Membres heretats
object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Properties
Count
Obté el nombre d’objectes continguts en aquest Objecte Aspose.Tasks.CalendarExcepcióCol·lecci.
public int Count { get; }
Valor de la propietat
ParentCalendar
Obtenir el calendari parent per a aquest objecte.
public Calendar ParentCalendar { get; }
Valor de la propietat
Aquest[Int]
Retorna l’element a l’índex especificat.
public CalendarException this[int index] { get; set; }
Valor de la propietat
Methods
Add(CalendarException)
Ads CalendarExcepció exemple a aquest objecte de la col·lecci.
public void Add(CalendarException item)
Parameters
item
CalendarException
El punt per afegir.
AddRange(Excepció del calendari>)
Afegeix una sèrie d’excepcions a la llista interna.
public void AddRange(IEnumerable<calendarexception> exceptionList)
Parameters
exceptionList
IEnumerable
<
CalendarException
>
Hi ha diverses excepcions per afegir.
Clear()
S’eliminen tots els articles de l’Aspose.Tasks.CalendarExceptionCollection.
public void Clear()
GetEnumerator()
Retorna un enumerador per a aquesta col·lecci.
public IEnumerator<calendarexception> GetEnumerator()
Returns
IEnumerator < CalendarException >
Un enumerador per a aquesta col·lecci.
Remove(CalendarException)
Elimina Aspose.Tasks.CalendarExcepció de la col·lecci.
public bool Remove(CalendarException item)
Parameters
item
CalendarException
El punt per eliminar.
Returns
s cert si l’excepció especificada ha estat eliminada amb èxit.
ToList()
Converteix l’objecte CalendarExceptionCol·lecció a una llista d’objectes Aspose.Tasks.CalendarException.
public List<calendarexception> ToList()
Returns
Llista d’objectes Aspose.Tasks.CalendarExcepci.