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. ]
Gets the default email address associated with the contact.
This property is read-only.
Syntax
strdefaultEmail = System.Contact.defaultEmail
Property value
A String that receives the default E-mail address.
Remarks
Individual contacts are accessible through the Contacts collection of System.ContactManager.
Examples
The following example demonstrates how to access a contact in the Contacts collection and get a specific property for that contact.
// Instantiate a Contacts object to search.
oContact = System.ContactManager.Contacts;
// Iterate through all contacts.
for (var i = 0; i < oContact.count; i++)
{
var sSearchResult = oContact.item(i).defaultEmail;
// Add search result to main display string.
sOutput += sSearchResult;
}
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 |
|