AppointmentCollection
Namespace: Wisej.Web
Assembly: Wisej.Framework (4.2.0.0)
Owns scheduler appointments and reports collection and item changes.
- C#
- VB.NET
public class AppointmentCollection : Collection<SchedulerAppointment>
Public Class AppointmentCollection
Inherits Collection(Of SchedulerAppointment)
Derives from or implements Collection.
Example:
var items = new AppointmentCollection();
items.Add(new SchedulerAppointment { Text = "Planning" });
Constructors
AppointmentCollection()
Initializes a new instance of AppointmentCollection.
Methods
ClearItems()
Removes all items and releases ownership.
InsertItem(index, item)
Inserts an unowned item with a unique identity.
| Parameter | Type | Description |
|---|---|---|
| index | Int32 | The zero-based item index. |
| item | SchedulerAppointment | The item passed to the operation. |
RemoveItem(index)
Removes an item without disposing application data.
| Parameter | Type | Description |
|---|---|---|
| index | Int32 | The zero-based item index. |
SetItem(index, item)
Replaces an item and transfers change subscriptions.
| Parameter | Type | Description |
|---|---|---|
| index | Int32 | The zero-based item index. |
| item | SchedulerAppointment | The item passed to the operation. |
Events
Changed
EventHandler Occurs when membership or an item changes.