Class CalendarExceptionCollection

Class CalendarExceptionCollection

Namespace: Aspose.Tasks
Assembly: Aspose.Tasks.dll (25.2.0)

Représente une collection d’objets Aspose.Tasks.CalendarException.

public class CalendarExceptionCollection : IList<calendarexception>, ICollection<calendarexception>, IEnumerable<calendarexception>, IEnumerable

Héritage

objectCalendarExceptionCollection

Implémente

IList<calendarexception>, ICollection<calendarexception>, IEnumerable<calendarexception>, IEnumerable

Membres hérités

object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Propriétés

Count

Obtient le nombre d’objets contenus dans cet objet Aspose.Tasks.CalendarExceptionCollection.

public int Count { get; }

Valeur de propriété

int

ParentCalendar

Obtient le calendrier parent pour cet objet.

public Calendar ParentCalendar { get; }

Valeur de propriété

Calendar

this[int]

Renvoie l’élément à l’index spécifié.

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

Valeur de propriété

CalendarException

Méthodes

Add(CalendarException)

Ajoute une instance de CalendarException à cet objet collection.

public void Add(CalendarException item)

Paramètres

item CalendarException

L’élément à ajouter.

AddRange(IEnumerable<calendarexception>)

Ajoute une plage d’exceptions à la liste interne.

public void AddRange(IEnumerable<calendarexception> exceptionList)

Paramètres

exceptionList IEnumerable<CalendarException&gt;

Plage d’exceptions à ajouter.

Clear()

Supprime tous les éléments de l’Aspose.Tasks.CalendarExceptionCollection.

public void Clear()

GetEnumerator()

Renvoie un énumérateur pour cette collection.

public IEnumerator<calendarexception> GetEnumerator()

Renvoie

IEnumerator<CalendarException&gt;

un énumérateur pour cette collection.

Remove(CalendarException)

Supprime une instance d’Aspose.Tasks.CalendarException de cette collection.

public bool Remove(CalendarException item)

Paramètres

item CalendarException

L’élément à supprimer.

Renvoie

bool

vrai si l’exception spécifiée a été supprimée avec succès.

ToList()

Convertit l’objet CalendarExceptionCollection en une liste d’objets Aspose.Tasks.CalendarException.

public List<calendarexception> ToList()

Renvoie

List<CalendarException&gt;

Liste d’objets Aspose.Tasks.CalendarException.

 Français