Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[The Windows Gadget Platform/Sidebar is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions. ]
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
objContacts = System.ContactManager.Contacts
Property value
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 client |
Windows Vista [desktop apps only] |
| Minimum supported server |
Windows Server 2008 [desktop apps only] |
| End of client support |
Windows 7 |
| End of server support |
Windows Server 2008 |
| IDL |
|
| DLL |
|
See also
-
Reference