Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

System.ContactManager.Contacts Property

A collection of System.Contact objects.

Note   Objects of type System.Contact can only be accessed through the Contacts collection. This collection is a member of System.ContactManager.

This property is read-only.

Syntax

propVal = System.ContactManager.Contacts()

  

Parameters

collContact [out]

A collection of System.Contact objects.

Remarks

Each System.Contact corresponds to a Windows Mail (formerly Outlook Express) .contact file that Windows creates for each individual Windows Contacts entry.

Examples

The following example demonstrates how to access a Contacts collection from System.ContactManager, select a single Contact from the collection, and retrieve the city property of that Contact.

// collContact is a collection of System.Contact objects.
var collContact = System.ContactManager.Contacts; 

// oContact is a System.Contact object. 
// oContact is item 3 in the collContact collection.
var oContact = collContact.item(3);  

// strContactCity is the value of the city property of oContact.
var strContactCity = oContact.city;

Requirements

Minimum supported clientWindows Vista
Minimum supported serverWindows Server 2008
IDLSidebar.idl
DLLSidebar.Exe version 1.00 or later

See Also

System.ContactManager
Reference
count
item
System.Contact

 

 

Send comments about this topic to Microsoft

Build date: 2/24/2010

Build type: SDK

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft. All rights reserved.