共用方式為


AppointmentCollection Members

3/29/2010

Represents the collection of Appointment items in an Appointment (Calendar) folder.

The following tables list the members exposed by the AppointmentCollection type.

Public Properties

  Name Description
ms886440.pubproperty(en-us,MSDN.10).gif AllowEdit  Gets a value indicating whether it is possible to update PIM items in the collection. (inherited from PimItemCollection)
ms886440.pubproperty(en-us,MSDN.10).gif AllowNew  Gets a value indicating whether it is possible to use AddNew to add PIM items to the collection. (inherited from PimItemCollection)
ms886440.pubproperty(en-us,MSDN.10).gif 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)
ms886440.pubproperty(en-us,MSDN.10).gif Count  Gets the number of PIM Items in the collection. (inherited from PimItemCollection)
ms886440.pubproperty(en-us,MSDN.10).gif IsFixedSize  Gets a value indicating whether the collection has a fixed size. (inherited from PimItemCollection)
ms886440.pubproperty(en-us,MSDN.10).gif IsReadOnly  Gets a value indicating whether the collection is read-only. (inherited from PimItemCollection)
ms886440.pubproperty(en-us,MSDN.10).gif IsSorted  Gets a value indicating whether the items in the collection are sorted. (inherited from PimItemCollection)
ms886440.pubproperty(en-us,MSDN.10).gif IsSynchronized  Gets a value indicating whether access to the ICollection is thread-safe. (inherited from PimItemCollection)
ms886440.pubproperty(en-us,MSDN.10).gif Item Gets the Appointment from the Appointment collection, with the specified index.
ms886440.pubproperty(en-us,MSDN.10).gif SortDirection  Gets the direction of the sort. (inherited from PimItemCollection)
ms886440.pubproperty(en-us,MSDN.10).gif SortProperty  Gets the sorting property descriptor. (inherited from PimItemCollection)
ms886440.pubproperty(en-us,MSDN.10).gif 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)
ms886440.pubproperty(en-us,MSDN.10).gif SupportsSearching  Gets a value indicating whether the collection supports searching using the Find method. (inherited from PimItemCollection)
ms886440.pubproperty(en-us,MSDN.10).gif SupportsSorting  Gets a value indicating whether the collection supports sorting (that is, whether it is possible to use the Sort and ApplySort methods). (inherited from PimItemCollection)
ms886440.pubproperty(en-us,MSDN.10).gif SyncRoot  Gets an object that can be used to synchronize access to the ICollection. (inherited from PimItemCollection)

Top

Public Methods

(see also Protected Methods )

  Name Description
ms886440.pubmethod(en-us,MSDN.10).gif Add Overloaded.  
ms886440.pubmethod(en-us,MSDN.10).gif AddIndex  (inherited from PimItemCollection )
ms886440.pubmethod(en-us,MSDN.10).gif AddNew Creates and adds a new Appointment to the AppointmentCollection object.
ms886440.pubmethod(en-us,MSDN.10).gif ApplySort  (inherited from PimItemCollection )
ms886440.pubmethod(en-us,MSDN.10).gif Clear  Deletes all PIM items from the collection. (inherited from PimItemCollection)
ms886440.pubmethod(en-us,MSDN.10).gif Contains Overloaded.  
ms886440.pubmethod(en-us,MSDN.10).gif CopyTo Overloaded.  
ms886440.pubmethod(en-us,MSDN.10).gif Dispose  Overloaded. (inherited from PimItemCollection )
ms886440.pubmethod(en-us,MSDN.10).gif Equals  Overloaded. (inherited from Object )
ms886440.pubmethod(en-us,MSDN.10).gif Find  (inherited from PimItemCollection )
ms886440.pubmethod(en-us,MSDN.10).gif GetEnumerator Initializes an instance of a new AppointmentCollectionEnumerator enumerator for iterating through the AppointmentCollection object.
ms886440.pubmethod(en-us,MSDN.10).gif GetHashCode  (inherited from Object )
ms886440.pubmethod(en-us,MSDN.10).gif GetType  (inherited from Object )
ms886440.pubmethod(en-us,MSDN.10).gif IndexOf  Overloaded. (inherited from PimItemCollection )
ms886440.pubmethod(en-us,MSDN.10).gif Insert  Overloaded. (inherited from PimItemCollection )
ms886440.pubmethod(en-us,MSDN.10).gif ms886440.static(en-us,MSDN.10).gif ReferenceEquals  (inherited from Object )
ms886440.pubmethod(en-us,MSDN.10).gif Remove Overloaded.  
ms886440.pubmethod(en-us,MSDN.10).gif RemoveAt  (inherited from PimItemCollection )
ms886440.pubmethod(en-us,MSDN.10).gif RemoveIndex  (inherited from PimItemCollection )
ms886440.pubmethod(en-us,MSDN.10).gif RemoveSort  Removes a sort applied with ApplySort. (inherited from PimItemCollection)
ms886440.pubmethod(en-us,MSDN.10).gif Restrict 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.
ms886440.pubmethod(en-us,MSDN.10).gif Sort  (inherited from PimItemCollection )
ms886440.pubmethod(en-us,MSDN.10).gif ToString  (inherited from Object )

Top

Protected Methods

  Name Description
ms886440.protmethod(en-us,MSDN.10).gif Dispose  Overloaded. (inherited from PimItemCollection )
ms886440.protmethod(en-us,MSDN.10).gif Finalize  The PimItemCollection class destructor. (inherited from PimItemCollection)
ms886440.protmethod(en-us,MSDN.10).gif Insert  Overloaded. (inherited from PimItemCollection )
ms886440.protmethod(en-us,MSDN.10).gif MemberwiseClone  (inherited from Object )

Top

Public Events

  Name Description
ms886440.pubevent(en-us,MSDN.10).gif ListChanged  Occurs when either the collection changes, or when an individual PIM item in the collection changes. (inherited from PimItemCollection)

Top

Explicit Interface Implementations

  Name Description
System.Collections.IEnumerable.GetEnumerator  Gets an enumerator for iterating through the PIM item collection. (inherited from PimItemCollection)
System.ComponentModel.IBindingList.AddNew  Adds a new PIM item to the collection. (inherited from PimItemCollection)
System.Collections.ICollection.Count  Gets the number of PIM Items in the collection. (inherited from PimItemCollection)
System.Collections.IList.Item  (inherited from PimItemCollection )

Top

See Also

Reference

AppointmentCollection Class
Microsoft.WindowsMobile.PocketOutlook Namespace