Interface IScheduleAppointmentList
Defines the collection of schedule items.
Inherited Members
Namespace: Syncfusion.Schedule
Assembly: Syncfusion.Schedule.Base.dll
Syntax
public interface IScheduleAppointmentList : IList, ICollection, IEnumerable
Properties
Count
Gets number of IScheduleAppointments in this list.
Declaration
int Count { get; }
Property Value
Type |
---|
System.Int32 |
Item[Int32]
An IScheduleAppointment referenced through an indexer.
Declaration
IScheduleAppointment this[int i] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | i | Get the ScheduleAppointment based on index |
Property Value
Type |
---|
IScheduleAppointment |
Methods
Add(IScheduleAppointment)
Adds an IScheduleAppointment at the end of this collection.
Declaration
void Add(IScheduleAppointment item)
Parameters
Type | Name | Description |
---|---|---|
IScheduleAppointment | item | An IScheduleAppointment item. |
Find(Int32)
Finds an IScheduleAppointment in the collection using its IScheduleAppointment.UniqueID.
Declaration
IScheduleAppointment Find(int uniqueID)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | uniqueID | The IScheduleAppointment.UniqueID of the IScheduleAppointment being searched for. |
Returns
Type | Description |
---|---|
IScheduleAppointment | The IScheduleAppointment whose IScheduleAppointment.UniqueID is the given uniqueID. |
IndexOf(IScheduleAppointment)
Locates the index of a particular IScheduleAppointment in this collection.
Declaration
int IndexOf(IScheduleAppointment item)
Parameters
Type | Name | Description |
---|---|---|
IScheduleAppointment | item | The item to be located. |
Returns
Type | Description |
---|---|
System.Int32 | The index of the given item. |
Insert(Int32, IScheduleAppointment)
Inserts the given IScheduleAppointment at a particular position in this collection.
Declaration
void Insert(int index, IScheduleAppointment item)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | Where the item should be inserted. |
IScheduleAppointment | item | The item to be inserted. |
NewScheduleAppointment()
Returns an instance of a new schedule item.
Declaration
IScheduleAppointment NewScheduleAppointment()
Returns
Type | Description |
---|---|
IScheduleAppointment | A new schedule item that can be added to this list. |
Remove(IScheduleAppointment)
Removes a given IScheduleAppointment from this collection.
Declaration
void Remove(IScheduleAppointment item)
Parameters
Type | Name | Description |
---|---|---|
IScheduleAppointment | item | The item to be removed. |
RemoveAt(Int32)
Removes an IScheduleAppointment at the given index from this collection.
Declaration
void RemoveAt(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The index of the IScheduleAppointment to be removed. |
SortStartTime()
Arranges the IScheduleAppointments in this list according to IScheduleAppointment.StartTime.
Declaration
void SortStartTime()