ContentDispositionIsAttachment Property

Get or set a value indicating whether the MimePart is an attachment.

Definition

Namespace: MimeKit
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public bool IsAttachment { get; set; }

Property Value

Boolean
if the MimePart is an attachment; otherwise, .

Remarks

A convenience property to determine if the entity should be considered an attachment or not.

See Also