Partager via


Attachment.AttachmentType Property

The AttachmentType property gets or sets a valid AttachmentType value that specifies whether the attachment is inline with the message contents or a regular attachment.

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

Syntax

'Declaration
Public Property AttachmentType As AttachmentType
    Get
    Friend Set
'Usage
Dim instance As Attachment
Dim value As AttachmentType

value = instance.AttachmentType
public AttachmentType AttachmentType { get; internal set; }

Property Value

Type: Microsoft.Exchange.Data.Transport.Email.AttachmentType
The AttachmentType property returns one of the valid AttachmentType values.