Share via


AttachmentCollection.Add method

The Add method adds a new Attachment object to the collection.

Namespace:  Microsoft.Exchange.Data.Transport.Email
Assembly:  Microsoft.Exchange.Data.Transport (in Microsoft.Exchange.Data.Transport.dll)

Syntax

'Declaration
Public Function Add As Attachment
'Usage
Dim instance As AttachmentCollection
Dim returnValue As Attachment

returnValue = instance.Add()
public Attachment Add()

Return value

Type: Microsoft.Exchange.Data.Transport.Email.Attachment

See also

Reference

AttachmentCollection class

AttachmentCollection members

Add overload

Microsoft.Exchange.Data.Transport.Email namespace