Compartilhar via


ContactCollection Members

3/29/2010

Represents the collection of Contact items in a Contact folder.

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

Public Properties

  Name Description
ms886529.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)
ms886529.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)
ms886529.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)
ms886529.pubproperty(en-us,MSDN.10).gif Count  Gets the number of PIM Items in the collection. (inherited from PimItemCollection)
ms886529.pubproperty(en-us,MSDN.10).gif IsFixedSize  Gets a value indicating whether the collection has a fixed size. (inherited from PimItemCollection)
ms886529.pubproperty(en-us,MSDN.10).gif IsReadOnly  Gets a value indicating whether the collection is read-only. (inherited from PimItemCollection)
ms886529.pubproperty(en-us,MSDN.10).gif IsSorted  Gets a value indicating whether the items in the collection are sorted. (inherited from PimItemCollection)
ms886529.pubproperty(en-us,MSDN.10).gif IsSynchronized  Gets a value indicating whether access to the ICollection is thread-safe. (inherited from PimItemCollection)
ms886529.pubproperty(en-us,MSDN.10).gif Item Gets the Contact from the Contact collection, with the specified index.
ms886529.pubproperty(en-us,MSDN.10).gif SortDirection  Gets the direction of the sort. (inherited from PimItemCollection)
ms886529.pubproperty(en-us,MSDN.10).gif SortProperty  Gets the sorting property descriptor. (inherited from PimItemCollection)
ms886529.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)
ms886529.pubproperty(en-us,MSDN.10).gif SupportsSearching  Gets a value indicating whether the collection supports searching using the Find method. (inherited from PimItemCollection)
ms886529.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)
ms886529.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
ms886529.pubmethod(en-us,MSDN.10).gif Add Overloaded.  
ms886529.pubmethod(en-us,MSDN.10).gif AddIndex  (inherited from PimItemCollection )
ms886529.pubmethod(en-us,MSDN.10).gif AddNew Creates a new Contact item, and adds it to the Contact collection.
ms886529.pubmethod(en-us,MSDN.10).gif ApplySort  (inherited from PimItemCollection )
ms886529.pubmethod(en-us,MSDN.10).gif Clear  Deletes all PIM items from the collection. (inherited from PimItemCollection)
ms886529.pubmethod(en-us,MSDN.10).gif Contains Overloaded.  
ms886529.pubmethod(en-us,MSDN.10).gif CopyTo Overloaded.  
ms886529.pubmethod(en-us,MSDN.10).gif Dispose  Overloaded. (inherited from PimItemCollection )
ms886529.pubmethod(en-us,MSDN.10).gif Equals  Overloaded. (inherited from Object )
ms886529.pubmethod(en-us,MSDN.10).gif Find  (inherited from PimItemCollection )
ms886529.pubmethod(en-us,MSDN.10).gif GetEnumerator Gets an enumerator for iterating through the Contact collection.
ms886529.pubmethod(en-us,MSDN.10).gif GetHashCode  (inherited from Object )
ms886529.pubmethod(en-us,MSDN.10).gif GetType  (inherited from Object )
ms886529.pubmethod(en-us,MSDN.10).gif IndexOf  Overloaded. (inherited from PimItemCollection )
ms886529.pubmethod(en-us,MSDN.10).gif Insert  Overloaded. (inherited from PimItemCollection )
ms886529.pubmethod(en-us,MSDN.10).gif ms886529.static(en-us,MSDN.10).gif ReferenceEquals  (inherited from Object )
ms886529.pubmethod(en-us,MSDN.10).gif Remove Overloaded.  
ms886529.pubmethod(en-us,MSDN.10).gif RemoveAt  (inherited from PimItemCollection )
ms886529.pubmethod(en-us,MSDN.10).gif RemoveIndex  (inherited from PimItemCollection )
ms886529.pubmethod(en-us,MSDN.10).gif RemoveSort  Removes a sort applied with ApplySort. (inherited from PimItemCollection)
ms886529.pubmethod(en-us,MSDN.10).gif Restrict Creates a new ContactCollection object that contains only those Contact items that match a set of filter criteria.
ms886529.pubmethod(en-us,MSDN.10).gif Sort  (inherited from PimItemCollection )
ms886529.pubmethod(en-us,MSDN.10).gif ToString  (inherited from Object )

Top

Protected Methods

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

Top

Public Events

  Name Description
ms886529.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

ContactCollection Class
Microsoft.WindowsMobile.PocketOutlook Namespace