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.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for