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 | |
---|---|---|
AllowEdit | Gets a value indicating whether it is possible to update PIM items in the collection. | |
AllowNew | Gets a value indicating whether it is possible to use AddNew to add PIM items to the collection. | |
AllowRemove | Gets a value indicating whether it is possible to use either Remove or RemoveAt to remove PIM items from the collection. | |
Count | Gets the number of PIM Items in the collection. | |
IsFixedSize | Gets a value indicating whether the collection has a fixed size. | |
IsReadOnly | Gets a value indicating whether the collection is read-only. | |
IsSorted | Gets a value indicating whether the items in the collection are sorted. | |
IsSynchronized | Gets a value indicating whether access to the ICollection is thread-safe. | |
Item | Gets a PIM item at the specified index in the collection. | |
SortDirection | Gets the direction of the sort. | |
SortProperty | Gets the sorting property descriptor. | |
SupportsChangeNotification | Gets a value indicating whether a ListChanged event is raised when either the list changes, or a PIM item in the list changes. | |
SupportsSearching | Gets a value indicating whether the collection supports searching using the Find method. | |
SupportsSorting | Gets a value indicating whether the collection supports sorting (that is, whether it is possible to use the Sort and ApplySort methods). | |
SyncRoot | Gets an object that can be used to synchronize access to the ICollection. |
Top
Public Methods
(see also Protected Methods )
Name | Description | |
---|---|---|
Add | Overloaded. | |
AddIndex | Adds the sorting property descriptor to the indexes used for a search. | |
AddNew | Adds a new PIM item to the collection. | |
ApplySort | Sorts the list based on a property descriptor and a sort direction. | |
Clear | Deletes all PIM items from the collection. | |
Contains | Overloaded. | |
CopyTo | Overloaded. | |
Dispose | Overloaded. | |
Equals | Overloaded. (inherited from Object ) | |
Find | Finds the PIM item with the matching property description value. | |
GetEnumerator | Gets an enumerator for iterating through the PIM item collection. | |
GetHashCode | (inherited from Object ) | |
GetType | (inherited from Object ) | |
IndexOf | Overloaded. | |
Insert | Overloaded. | |
ReferenceEquals | (inherited from Object ) | |
Remove | Overloaded. | |
RemoveAt | Removes the PIM item from the collection, at the specified index position. | |
RemoveIndex | Removes the property descriptor from the search indexes. | |
RemoveSort | Removes a sort applied with ApplySort. | |
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. | |
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. | |
ToString | (inherited from Object ) |
Top
Protected Methods
Name | Description | |
---|---|---|
Dispose | Overloaded. | |
Finalize | Overridden. The PimItemCollection class destructor. | |
Insert | Overloaded. | |
MemberwiseClone | (inherited from Object ) |
Top
Public Events
Name | Description | |
---|---|---|
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