AddressEntry.GetContact method

Returns a ContactItem object that represents the AddressEntry, if the AddressEntry corresponds to a contact in an Outlook Contacts Address Book (CAB).

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

[DispIdAttribute()]
ContactItem GetContact()

Return value

Type: Microsoft.Office.Interop.Outlook.ContactItem
A ContactItem object that corresponds to the AddressEntry. Returns Nothing (a null reference (Nothing in Visual Basic) in C#) if the AddressEntry object does not correspond to a contact in a Contacts Address Book.
Show: