Share via


PimItemCollection Members

3/29/2010

Defines container operations (for example, adding, removing, and sorting items), along with state information (for example, references to the containing folder, whether the collection is sorted, etc.) about generic PIM item collections.

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

Public Properties

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

Top

Public Methods

(see also Protected Methods )

  Name Description
Aa455623.pubmethod(en-us,MSDN.10).gif Add Overloaded.  
Aa455623.pubmethod(en-us,MSDN.10).gif AddIndex Adds the sorting property descriptor to the indexes used for a search.
Aa455623.pubmethod(en-us,MSDN.10).gif AddNew Adds a new PIM item to the collection.
Aa455623.pubmethod(en-us,MSDN.10).gif ApplySort Sorts the list based on a property descriptor and a sort direction.
Aa455623.pubmethod(en-us,MSDN.10).gif Clear Deletes all PIM items from the collection.
Aa455623.pubmethod(en-us,MSDN.10).gif Contains Overloaded.  
Aa455623.pubmethod(en-us,MSDN.10).gif CopyTo Overloaded.  
Aa455623.pubmethod(en-us,MSDN.10).gif Dispose Overloaded.  
Aa455623.pubmethod(en-us,MSDN.10).gif Equals  Overloaded. (inherited from Object )
Aa455623.pubmethod(en-us,MSDN.10).gif Find Finds the PIM item with the matching property description value.
Aa455623.pubmethod(en-us,MSDN.10).gif GetEnumerator Gets an enumerator for iterating through the PIM item collection.
Aa455623.pubmethod(en-us,MSDN.10).gif GetHashCode  (inherited from Object )
Aa455623.pubmethod(en-us,MSDN.10).gif GetType  (inherited from Object )
Aa455623.pubmethod(en-us,MSDN.10).gif IndexOf Overloaded.  
Aa455623.pubmethod(en-us,MSDN.10).gif Insert Overloaded.  
Aa455623.pubmethod(en-us,MSDN.10).gif Aa455623.static(en-us,MSDN.10).gif ReferenceEquals  (inherited from Object )
Aa455623.pubmethod(en-us,MSDN.10).gif Remove Overloaded.  
Aa455623.pubmethod(en-us,MSDN.10).gif RemoveAt Removes the PIM item from the collection, at the specified index position.
Aa455623.pubmethod(en-us,MSDN.10).gif RemoveIndex Removes the property descriptor from the search indexes.
Aa455623.pubmethod(en-us,MSDN.10).gif RemoveSort Removes a sort applied with ApplySort.
Aa455623.pubmethod(en-us,MSDN.10).gif Restrict Creates a new PIM item collection that contains only PIM items that match a set of filter criteria. This provides a filtered view of a collection of PIM items.
Aa455623.pubmethod(en-us,MSDN.10).gif Sort Sorts the PIM items in a collection based on one of the PimItem properties. You can specify either an ascending or a descending sort order.
Aa455623.pubmethod(en-us,MSDN.10).gif ToString  (inherited from Object )

Top

Protected Methods

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

Top

Public Events

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

Top

Explicit Interface Implementations

  Name Description
System.Collections.IEnumerable.GetEnumerator  
System.ComponentModel.IBindingList.AddNew  
System.Collections.ICollection.Count  
System.Collections.IList.Item  

Top

See Also

Reference

PimItemCollection Class
Microsoft.WindowsMobile.PocketOutlook Namespace