Attachment.EmbeddedMessage Property

The EmbeddedMessage property gets or sets a value that specifies the EmailMessage embedded in the attachment.

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

Syntax

'Declaration
Public Property EmbeddedMessage As EmailMessage
    Get
    Set
'Usage
Dim instance As Attachment
Dim value As EmailMessage

value = instance.EmbeddedMessage

instance.EmbeddedMessage = value
public EmailMessage EmbeddedMessage { get; set; }