Share via


_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
<DispIdAttribute()> _
Property InitialAddressList As AddressList
    Get
    Set
'Usage
Dim instance As _SelectNamesDialog
Dim value As AddressList

value = instance.InitialAddressList

instance.InitialAddressList = value
[DispIdAttribute()]
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

Other Resources

How to: Display in the Select Names Dialog Box the Address Book Corresponding to a Contacts Folder

How to: Get the Global Address List or a Set of Address Lists for a Store

How to: Get Members of an Exchange Distribution List