Partager via


Attachment Class

The Attachment type represents an attachment to a EmailMessage object.

Inheritance Hierarchy

System.Object
  Microsoft.Exchange.Data.Transport.Email.Attachment

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

Syntax

'Declaration
<DebuggerDisplayAttribute("Type: {ContentType} Name: {FileName}")> _
Public Class Attachment
'Usage
Dim instance As Attachment
[DebuggerDisplayAttribute("Type: {ContentType} Name: {FileName}")]
public class Attachment

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.