共用方式為


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; }

Property value

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

See also

Reference

Attachment class

Attachment members

Microsoft.Exchange.Data.Transport.Email namespace