AttachmentCollection.Add method

The Add method adds an instance of the Attachment class to the collection.

Overload list

  Name Description
Public method Add() The Add method adds a new Attachment object to the collection.
Public method Add(String) The Add method adds a new Attachment object to the collection by using the file name specified by the fileName parameter.
Public method Add(String, String) The Add method adds a new Attachment object to the collection by using the file name specified by the fileName parameter and the content type specified by the contentType parameter.

Top

See also

Reference

AttachmentCollection class

AttachmentCollection members

Microsoft.Exchange.Data.Transport.Email namespace