Partager via


_NameSpace.AddressLists Property

Returns an AddressLists collection representing a collection of the address lists available for this session. Read-only.

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

Syntax

'Declaration
<DispIdAttribute()> _
ReadOnly Property AddressLists As AddressLists
    Get
'Usage
Dim instance As _NameSpace
Dim value As AddressLists

value = instance.AddressLists
[DispIdAttribute()]
AddressLists AddressLists { get; }

Property Value

Type: Microsoft.Office.Interop.Outlook.AddressLists

Remarks

The AddressLists collection represents the root of the address book hierarchy for the current session. A particular AddressList object represents one of the available address books. The type of access you obtain depends on the access permissions granted to you by each individual address book provider.

See Also

Reference

_NameSpace Interface

_NameSpace Members

Microsoft.Office.Interop.Outlook Namespace

Other Resources

How to: Display the Address Lists for a Profile