_SelectNamesDialog.InitialAddressList Property

Returns or sets an AddressList object that determines the initial address list to be displayed in the Select Names dialog box. Read/write.

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

Syntax

'Declaration
Property InitialAddressList As AddressList
    Get
    Set
'Usage
Dim instance As _SelectNamesDialog
Dim value As AddressList

value = instance.InitialAddressList

instance.InitialAddressList = value
AddressList InitialAddressList { get; set; }

Property Value

Type: Microsoft.Office.Interop.Outlook.AddressList

Remarks

Setting the InitialAddressList property is the programmatic equivalent to selecting an AddressList from the drop-down list for Address Book in the Select Names dialog box.

In its default state, InitialAddressList is the AddressList that has the property AddressList.IsInitialAddressList set to True. IsInitialAddressList corresponds to setting Show this address list first in the Addressing dialog box, which is available by clicking Tools, and then Options in the Address Book dialog box.

See Also

Reference

_SelectNamesDialog Interface

_SelectNamesDialog Members

Microsoft.Office.Interop.Outlook Namespace