Class CalendarExceptionCollection

Class CalendarExceptionCollection

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

Mewakili koleksi objek Aspose.Tasks.CalendarException.

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

Pewarisan

objectCalendarExceptionCollection

Mengimplementasikan

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

Anggota yang diwarisi

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

Properti

Count

Mengambil jumlah objek yang terdapat dalam objek Aspose.Tasks.CalendarExceptionCollection ini.

public int Count { get; }

Nilai Properti

int

ParentCalendar

Mengambil kalender induk untuk objek ini.

public Calendar ParentCalendar { get; }

Nilai Properti

Calendar

this[int]

Mengembalikan elemen pada indeks yang ditentukan.

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

Nilai Properti

CalendarException

Metode

Add(CalendarException)

Menambahkan instance CalendarException ke objek koleksi ini.

public void Add(CalendarException item)

Parameter

item CalendarException

Item yang akan ditambahkan.

AddRange(IEnumerable<calendarexception>)

Menambahkan rentang pengecualian ke daftar internal.

public void AddRange(IEnumerable<calendarexception> exceptionList)

Parameter

exceptionList IEnumerable<CalendarException&gt;

Rentang pengecualian yang akan ditambahkan.

Clear()

Menghapus semua item dari Aspose.Tasks.CalendarExceptionCollection.

public void Clear()

GetEnumerator()

Mengembalikan enumerator untuk koleksi ini.

public IEnumerator<calendarexception> GetEnumerator()

Mengembalikan

IEnumerator<CalendarException&gt;

sebuah enumerator untuk koleksi ini.

Remove(CalendarException)

Menghapus instance Aspose.Tasks.CalendarException dari koleksi ini.

public bool Remove(CalendarException item)

Parameter

item CalendarException

Item yang akan dihapus.

Mengembalikan

bool

true jika pengecualian yang ditentukan berhasil dihapus.

ToList()

Mengonversi objek CalendarExceptionCollection menjadi daftar objek Aspose.Tasks.CalendarException.

public List<calendarexception> ToList()

Mengembalikan

List<CalendarException&gt;

Daftar objek Aspose.Tasks.CalendarException.

 Indonesia