The AppointmentCollection type exposes the following members.

Methods

  Name Description
Public method Add()()()()
Creates the new Appointment object with default settings and adds it to the collection.
Public method Add(T)
Adds a new custom object to the collection. If the item already exists in the collection, its index is returned.
(Inherited from BaseCollection<(Of <(<'T>)>)>.)
Public method Add(DateTime, DateTime)
Creates the new Appointment object with specified parameters and adds it to the collection.
Public method Add(DateTime, TimeSpan)
Creates the new Appointment object with specified parameters and adds it to the collection.
Public method Add(DateTime, DateTime, String)
Creates the new Appointment object with specified parameters and adds it to the collection.
Public method Add(DateTime, TimeSpan, String)
Creates the new Appointment object with specified parameters and adds it to the collection.
Public method AddRange(array<T>[]()[][])
Adds an array of objects to the collection. This methods clears the collection before adding new items. Don't use it if you want to keep preexisting items.
(Inherited from BaseCollection<(Of <(<'T>)>)>.)
Public method AddRange(array<Appointment>[]()[][])
Adds an array of Appointment objects to the collection. This methods clears collection before adding new items. Don't use it if you want to save previously existed items.
(Overrides BaseCollection<(Of <(<'T>)>)>..::..AddRange(array<T>[]()[][]).)
Protected method ChangeItemKey
Changes the key associated with the specified element in the lookup dictionary.
(Inherited from KeyedCollection<(Of <(<'Guid, Appointment>)>)>.)
Public method Clear
Removes all elements from the Collection<(Of <(<'T>)>)>.
(Inherited from Collection<(Of <(<'Appointment>)>)>.)
Protected method ClearItems
Clears the collection.
(Overrides C1ObservableKeyedCollection<(Of <(<'TKey, TItem>)>)>..::..ClearItems()()()().)
Public method Contains(TKey)
Determines whether the collection contains an element with the specified key.
(Inherited from KeyedCollection<(Of <(<'Guid, Appointment>)>)>KeyedCollection<(Of <(<'TKey, TItem>)>)>.)
Public method Contains(Int32)
Check if collection contains an item with specified index.
(Inherited from BaseCollection<(Of <(<'T>)>)>.)
Public method Contains(T)
Determines whether an element is in the Collection<(Of <(<'T>)>)>.
(Inherited from Collection<(Of <(<'Appointment>)>)>Collection<(Of <(<'T>)>)>.)
Public method CopyTo
Copies the entire Collection<(Of <(<'T>)>)> to a compatible one-dimensional Array, starting at the specified index of the target array.
(Inherited from Collection<(Of <(<'Appointment>)>)>.)
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected method Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public method GetConflicts
Retrieves the AppointmentList object which contains the list of occurrences of Appointment objects which are in conflict with the specified appointment.
Public method GetEnumerator
Returns an enumerator that iterates through the Collection<(Of <(<'T>)>)>.
(Inherited from Collection<(Of <(<'Appointment>)>)>.)
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Protected method GetKeyForItem
Extracts the key from the specified element.
(Inherited from BaseCollection<(Of <(<'T>)>)>.)
Public method GetOccurrences(DateTime, DateTime)
Retrieves the AppointmentList object which contains the full list of Appointment objects in the specified time interval.
Public method GetOccurrences(Appointment, DateTime, DateTime)
Retrieves the AppointmentList object which contains the list of occurrences of the specified master appointment in the specified time interval.
Public method GetOccurrences(BaseObject, String, DateTime, DateTime, Boolean)
Retrieves the AppointmentList object which contains the full list of Appointment objects in the specified time interval.
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public method IndexOf
Searches for the specified object and returns the zero-based index of the first occurrence within the entire Collection<(Of <(<'T>)>)>.
(Inherited from Collection<(Of <(<'Appointment>)>)>.)
Public method Insert
Inserts an element into the Collection<(Of <(<'T>)>)> at the specified index.
(Inherited from Collection<(Of <(<'Appointment>)>)>.)
Protected method InsertItem
Overrides the default behavior.
(Overrides BaseCollection<(Of <(<'T>)>)>..::..InsertItem(Int32, T).)
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected method OnCollectionChanged
Public method Remove(TKey)
Removes the element with the specified key from the KeyedCollection<(Of <(<'TKey, TItem>)>)>.
(Inherited from KeyedCollection<(Of <(<'Guid, Appointment>)>)>KeyedCollection<(Of <(<'TKey, TItem>)>)>.)
Public method Remove(T)
Removes the first occurrence of a specific object from the Collection<(Of <(<'T>)>)>.
(Inherited from Collection<(Of <(<'Appointment>)>)>Collection<(Of <(<'T>)>)>.)
Public method RemoveAt
Removes the element at the specified index of the Collection<(Of <(<'T>)>)>.
(Inherited from Collection<(Of <(<'Appointment>)>)>.)
Protected method RemoveItem
Overrides the default behavior.
(Overrides BaseCollection<(Of <(<'T>)>)>..::..RemoveItem(Int32).)
Protected method SetItem
Overrides the default behavior.
(Overrides C1ObservableKeyedCollection<(Of <(<'TKey, TItem>)>)>..::..SetItem(Int32, TItem).)
Public method ToString
Returns a String that represents the current Object.
(Inherited from Object.)

Properties

  Name Description
Public property Comparer
Gets the generic equality comparer that is used to determine equality of keys in the collection.
(Inherited from KeyedCollection<(Of <(<'Guid, Appointment>)>)>.)
Public property Count
Gets the number of elements actually contained in the Collection<(Of <(<'T>)>)>.
(Inherited from Collection<(Of <(<'Appointment>)>)>.)
Protected property Dictionary
Gets the lookup dictionary of the KeyedCollection<(Of <(<'TKey, TItem>)>)>.
(Inherited from KeyedCollection<(Of <(<'Guid, Appointment>)>)>.)
Public property Item[([( Int32])])
Gets or sets the element at the specified index.
(Inherited from Collection<(Of <(<'Appointment>)>)>Collection<(Of <(<'T>)>)>.)
Public property Item[([( Guid])])
Gets the element with the specified key if any.
(Inherited from BaseCollection<(Of <(<'T>)>)>.)
Protected property Items (Inherited from Collection<(Of <(<'Appointment>)>)>.)
Protected property OwnerInternal
Public property ParentStorage
Gets the reference to the owning AppointmentStorage object.

See Also