_ExchangeDistributionList.GetContact Method

Definition

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

public:
 Microsoft::Office::Interop::Outlook::ContactItem ^ GetContact();
public Microsoft.Office.Interop.Outlook.ContactItem GetContact ();
Public Function GetContact () As ContactItem

Returns

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

Remarks

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

Applies to