編輯

共用方式為


AddressList Interface

Definition

Represents an address book that contains a set of AddressEntry objects.

public interface class AddressList
[System.Runtime.InteropServices.Guid("00063049-0000-0000-C000-000000000046")]
public interface AddressList
Public Interface AddressList
Attributes

Remarks

The AddressList object is an address book that contains a set of AddressEntry objects.

The AddressList object supplies a list of address entries to which a messaging system can deliver messages. An AddressList object represents one address book container available under the transport provider's address book hierarchy for the current session. The entire hierarchy is available through the parent AddressLists object.

Properties

AddressEntries

Returns the AddressEntries collection for the specified object. Read-only.

AddressListType

Returns a constant from the OlAddressListType enumeration that represents the type of the AddressList. Read-only.

Application

Returns an Application object that represents the parent Outlook application for the object. Read-only.

Class

Returns an OlObjectClass constant indicating the object's class. Read-only.

ID

Returns a String (string in C#) representing the unique identifier for the object. Read-only.

Index

Returns an Integer (int in C#) value indicating the position of the object within the collection. Read-only.

IsInitialAddressList

Returns a Boolean (bool in C#) that indicates if the AddressList is the initial AddressList shown in the Select Names dialog. Read-only.

IsReadOnly

Returns a Boolean value (bool in C#) that indicates that the AddressList object cannot be modified. Read-only.

Name

Returns a String value (string in C#) that represents the display name for the object. Read-only.

Parent

Returns the parent Object of the specified object. Read-only.

PropertyAccessor

Returns a PropertyAccessor object that supports creating, getting, setting, and deleting properties of the parent AddressList object. Read-only.

ResolutionOrder

Returns an Integer that represents the order of this AddressList in the custom scroll list in the Addressing dialog box. Read-only.

Session

Returns the NameSpace object for the current session. Read-only.

Methods

GetContactsFolder()

Obtains a Folder object that represents the Contacts folder for the AddressList object.

Applies to