Edit

Share via


AddressList.GetContactsFolder Method

Definition

Obtains a Folder object that represents the Contacts folder for the AddressList object.

public:
 Microsoft::Office::Interop::Outlook::MAPIFolder ^ GetContactsFolder();
public Microsoft.Office.Interop.Outlook.MAPIFolder GetContactsFolder ();
Public Function GetContactsFolder () As MAPIFolder

Returns

A Folder object that represents the Outlook Contacts folder for the AddressList. Returns Null (Nothing in Visual Basic) if no Outlook contacts folder is found.

Remarks

This method allows you to match an AddressList for the Contacts folder that you would like to set up as the initial address list in the Select Names dialog box.

Applies to