System.Net.Mime.ContentDisposition.Inline Property

Gets or sets a bool value that determines the disposition type (Inline or Attachment) for an e-mail attachment.

Syntax

public bool Inline { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

The ContentDisposition.Inline property sets the disposition type in the Content-Disposition header sent with the e-mail message. The disposition type can be used by software that displays e-mail to determine the correct way to present the e-mail attachments. Attachments with a disposition type of DispositionTypeNames.Inline are usually displayed when the user opens the e-mail. Attachments with a disposition type of DispositionTypeNames.Attachment are usually not opened until the user performs some additional action, such as clicking an icon that represents the attachment.

The Content-Disposition header is described in RFC 2183 available at tp://www.ietf.org/.

Requirements

Namespace: System.Net.Mime
Assembly: System (in System.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0