This documentation is archived and is not being maintained.

MAPIFolder.AddressBookName Property

Returns or sets a String (string in C#) that indicates the Address Book name for the Folder object representing a Contacts folder. Read/write.

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

[DispIdAttribute()]
string AddressBookName { get; set; }

Property Value

Type: System.String

If you try to set the AddressBookName property in a non-Contacts folder, an error will be returned.

Show: