AddressEntries.Add(String, Object, Object) Method

Definition

Adds a new entry to the AddressEntries collection.

public Microsoft.Office.Interop.Outlook.AddressEntry Add (string Type, object Name, object Address);
Public Function Add (Type As String, Optional Name As Object, Optional Address As Object) As AddressEntry

Parameters

Type
String

The type of the new entry.

Name
Object

The name of the new entry.

Address
Object

The address.

Returns

An AddressEntry object that represents the new entry.

Remarks

New entries or changes to existing entries are not persisted in the collection until after calling the Update(Object, Object) method.

Applies to