ref: vbMAPI_AddressList

On this page you'll find:

    Class Description

    .


    Property Get Properties() As vbMAPI_Properties

    Exposes a collection of the MAPI properties set on this address list.  The default member of the vbMAPI_Properties class is Item, therefore in VB you can call vbMAPI_AddressList.Properties(PropTag) directly.

    Property Get NamedProperties(ByVal PropertySetGUID As String, _
                  ByVal ID As Variant, _
                  ByVal DataType As EnumMAPIPropDataTypes) As vbMAPI_Property

    Provides access to MAPI named properties for this MailItem.

    PropertySetGUID: A string representation of the property set GUID (e.g. )
    ID: The name (string) or property identifier (integer) representing the property to query from the property set.
    DataType: The MAPI data type of the property.

    Property Get Name() As String

    Returns the value of the MAPI property PR_DISPLAY_NAME from this address list.

    Property Get EntryID() As String

    Returns the value of the MAPI property PR_ENTRYID from this address list.

    Property Get Session() As vbMAPI_Session

    Returns the session object associated with this item.

    Sub Save()

    Commits any changes made to this object.

    Property Get MAPIOBJECT() As Variant

    Returns the IABContainer object associated with this item.

    Property Get AddressLists() As vbMAPI_AddressLists

    Returns an object of type vbMAPI_AddressLists, that represents the collection of sub-addresslists associated with this list.

    Property Get AddressEntries() As vbMAPI_AddressEntries

    Returns an object of type vbMAPI_AddressEntries, that represents the collection of users in this address list.

    Function ResolveName(ByVal Name As String) As vbMAPI_AddressEntry

    Resolves the given Name using only this address list, returning an vbMAPI_AddessEntry object if a single match is found.

    Function ResolveNameEx(ByVal Name As String) As vbMAPI_AddressEntries

    Resolves the given Name using only this address list, returning an vbMAPI_AddressEntries object representing one or more results.

    Property Get IsReadOnly() As Boolean

    Determines whether the list is read-only or not.