Upravit

Sdílet prostřednictvím


AddressEntry.GetContact Method

Definition

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

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

Returns

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.

Applies to