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)

Syntax

'Declaration
<DispIdAttribute()> _
Property AddressBookName As String
    Get
    Set
'Usage
Dim instance As MAPIFolder
Dim value As String

value = instance.AddressBookName

instance.AddressBookName = value
[DispIdAttribute()]
string AddressBookName { get; set; }

Property Value

Type: System.String

Remarks

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

See Also

Reference

MAPIFolder Interface

MAPIFolder Members

Microsoft.Office.Interop.Outlook Namespace