Attachment.MimePart Property

The MimePart property gets the MimePart for the attachment.

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

Syntax

'Declaration
Public ReadOnly Property MimePart As MimePart
    Get
'Usage
Dim instance As Attachment
Dim value As MimePart

value = instance.MimePart
public MimePart MimePart { get; }

Property Value

Type: Microsoft.Exchange.Data.Mime.MimePart
The MimePart property returns the MimePart for the current instance of the Attachment class or a null reference (Nothing in Visual Basic) for Transport Neutral Encapsulation Format (TNEF) attachments.