AddressList.GetContactsFolder Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.