This documentation is archived and is not being maintained.

_ExchangeUser.GetContact Method

Returns Nothing (a null reference (Nothing in Visual Basic) in C#) because the ExchangeUser object does not correspond to a contact in a Contacts Address Book.

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
Nothing (a null reference (Nothing in Visual Basic) in C#) because the ExchangeUser object does not correspond to a contact in a Contacts Address Book.

The ExchangeUser object is derived from the AddressEntry object. It inherits the GetContact method from the AddressEntry object, and in the case of ExchangeUser, this method always returns Nothing.

Show: