In The Hand - .NET Components for Mobility
AppointmentCollection Class
NamespacesInTheHand.WindowsMobile.PocketOutlookAppointmentCollection
Represents the collection of Appointment items in an Appointments folder.
Declaration Syntax
C#Visual Basic
public sealed class AppointmentCollection : PimItemCollection
Public NotInheritable Class AppointmentCollection _
	Inherits PimItemCollection
Members
All MembersMethodsPropertiesEvents



IconMemberDescription
Add(PimItem)
Inserts a new Appointment item into the Appointment collection.
(Overrides PimItemCollection.Add(PimItem).)
AddNew()()()
Creates a new Appointment item, and adds it to the Appointments collection.

AllowEdit
Gets a value indicating whether it is possible to update PIM items in the collection.
(Inherited from PimItemCollection.)
AllowNew
Gets a value indicating whether it is possible to use AddNew to add PIM items to the collection.
(Inherited from PimItemCollection.)
AllowRemove
Gets a value indicating whether it is possible to use either Remove or RemoveAt to remove PIM items from the collection.
(Inherited from PimItemCollection.)
ApplySort(PropertyDescriptor, ListSortDirection)
Sorts the list based on a property descriptor and a sort direction.
(Inherited from PimItemCollection.)
Clear()()()
Deletes all PIM items from the collection.
(Inherited from PimItemCollection.)
Contains(Appointment)
Checks to see whether a specific Appointment object exists in the AppointmentCollection object.

Contains(Object)
Gets a value indicating whether the collection contains the supplied PIM item.
(Inherited from PimItemCollection.)
Contains(PimItem)
Gets a value indicating whether a specific PIM item exists in the collection.
(Inherited from PimItemCollection.)
CopyTo(array<Appointment>[]()[], Int32)
Copies an AppointmentCollection object to an array of Appointment objects, beginning at a specific array index.

CopyTo(array<PimItem>[]()[], Int32)
Copies all PIM items in the collection into a PimItem array, beginning at the specified array index.
(Inherited from PimItemCollection.)
Count
Returns the number of items in the collection.
(Inherited from PimItemCollection.)
Dispose()()()
Releases all resources used by the PimItemCollection.
(Inherited from PimItemCollection.)
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Find(String)
Finds the first PimItem in the collection that passes the given restriction.
(Inherited from PimItemCollection.)
Find(PropertyDescriptor, Object)
Finds the PimItem with the matching property description value.
(Inherited from PimItemCollection.)
FindNext()()()
This method finds the next PimItem in a collection that passes the restriction specified by the most recent call to Find(String).
(Inherited from PimItemCollection.)
GetHashCode()()()
Serves as a hash function for a particular type. GetHashCode()()() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
GetType()()()
Gets the Type of the current instance.
(Inherited from Object.)
IncludeRecurrences
Recurrences Returns or sets whether to include Recurrences in a collection sorted on the Start property in ascending order.

IndexOf(PimItem)
Gets a PIM item’s position in the collection.
(Inherited from PimItemCollection.)
IsFixedSize
Gets a value indicating whether the collection has a fixed size.
(Inherited from PimItemCollection.)
IsSorted
Gets a value indicating whether the items in the collection are sorted.
(Inherited from PimItemCollection.)
Item[([(Int32])])
Gets the Appointment item with the specified index, from the Appointment collection.

ItemAdded
Occurs when a new item is added.
(Inherited from PimItemCollection.)
ItemChanged
Occurs when an item was modified.
(Inherited from PimItemCollection.)
ItemDeleted
Occurs when an item was deleted from the collection. The item itself cannot be read at this point but the EventArgs contains the ItemId of the affected item.
(Inherited from PimItemCollection.)
ListChanged
Occurs when the list changes.
(Inherited from PimItemCollection.)
MemberwiseClone()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Remove(Appointment)
Removes a specific Appointment object from the AppointmentCollection object.

Remove(PimItem)
Removes a PimItem from the collection.
(Inherited from PimItemCollection.)
RemoveAt(Int32)
Remove the PimItem at the specified index.
(Inherited from PimItemCollection.)
RemoveIndex(PropertyDescriptor)
Removes the property descriptor from the search indexes.
(Inherited from PimItemCollection.)
RemoveSort()()()
Removes a sort applied with ApplySort.
(Inherited from PimItemCollection.)
Restrict(String)
Returns a new AppointmentCollection object that contains only Appointment objects that match a set of criteria, providing a filtered view of a collection of appointments.

Sort(String, Boolean)
Sort items in a collection on a given property.
(Inherited from PimItemCollection.)
Sort(String)
Sort items in a collection on a given property.
(Inherited from PimItemCollection.)
SortDirection
Gets the direction of the sort.
(Inherited from PimItemCollection.)
SortProperty
Gets the sorting property descriptor.
(Inherited from PimItemCollection.)
SupportsChangeNotification
Gets a value indicating whether a ListChanged event is raised when either the list changes, or a PIM item in the list changes.
(Inherited from PimItemCollection.)
SupportsSearching
Gets a value indicating whether the collection supports searching using the Find method.
(Inherited from PimItemCollection.)
SupportsSorting
Gets a value indicating whether the collection supports sorting (that is, whether it is possible to use the Sort(String, Boolean) and ApplySort(PropertyDescriptor, ListSortDirection) methods).
(Inherited from PimItemCollection.)
ToString()()()
Returns a String that represents the current Object.
(Inherited from Object.)
Remarks

Equivalent to Microsoft.WindowsMobile.PocketOutlook.AppointmentCollection.

Inheritance Hierarchy
Object
PimItemCollection
 AppointmentCollection

Assembly: InTheHand.WindowsMobile (Module: InTheHand.WindowsMobile) Version: 3.2.0.0