Class CalendarExceptionCollection

Class CalendarExceptionCollection

Navne til: Aspose.Tasks Sammensætning: Aspose.Tasks.dll (25.4.0)

Det repræsenterer en samling af Aspose.Tasks.CalendarException objekter.

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

Inheritance

object CalendarExceptionCollection

Implements

IList , ICollection , IEnumerable , IEnumerable

De arvede medlemmer

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

Properties

Count

Få antallet af objekter indeholdt i dette Aspose.Tasks.CalendarExceptionCollection objekt.

public int Count { get; }

Ejendomsværdi

int

ParentCalendar

Få den forældres kalender for dette objekt.

public Calendar ParentCalendar { get; }

Ejendomsværdi

Calendar

Dette[Int]

Returner elementet til det angivne indeks.

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

Ejendomsværdi

CalendarException

Methods

Add(CalendarException)

Ads CalendarException instans til dette kollektionsobjekt.

public void Add(CalendarException item)

Parameters

item CalendarException

Det punkt at tilføje.

AddRange(»Kalendarexception« Kalendarexception>)

Tilføj en række undtagelser til den interne liste.

public void AddRange(IEnumerable<calendarexception> exceptionList)

Parameters

exceptionList IEnumerable < CalendarException >

Der er mange undtagelser at tilføje.

Clear()

Fjern alle elementer fra Aspose.Tasks.CalendarExceptionCollection.

public void Clear()

GetEnumerator()

Returnerer en enumerator til denne samling.

public IEnumerator<calendarexception> GetEnumerator()

Returns

IEnumerator < CalendarException >

En liste over denne samling.

Remove(CalendarException)

Fjern Aspose.Tasks.CalendarException instans fra denne samling.

public bool Remove(CalendarException item)

Parameters

item CalendarException

Det element at fjerne.

Returns

bool

hvis det angivne undtagelse blev fjernet med succes.

ToList()

Konverterer kalenderExceptionCollection objekt til en liste over Aspose.Tasks.CalendarException objekter.

public List<calendarexception> ToList()

Returns

List < CalendarException >

Liste over Aspose.Tasks.CalendarException objekter.

 Dansk