Export (0) Print
Expand All

NameSpace.GetAddressEntryFromID Method

Office 2007
Returns an AddressEntry object that represents the address entry specified by ID.

Version Information
 Version Added:  Outlook 2007

Syntax

expression.GetAddressEntryFromID(ID)

expression   A variable that represents a NameSpace object.

Parameters

NameRequired/OptionalData TypeDescription
IDRequiredStringA string identifier for an address entry maintained for the session.

Return Value
An AddressEntry that has the ID property matching the specified

ID.

Remarks

The ID property for an AddressEntry is a permanent, unique string identifier that the transport provider assigns when an AddressEntry is created.

Outlook maintains a hierarchy of address books for a session, and the address entry returned must match the given

ID and be in one of the address books.

GetAddressEntryFromID returns an error if no item with the given

ID can be found.

GetAddressEntryFromID also returns an error if no connection is available or the user is set to work offline.




Community Additions

ADD
Show:
© 2014 Microsoft