ContentDisposition(String) Constructor

Initialize a new instance of the ContentDisposition class.

Definition

Namespace: MimeKit
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public ContentDisposition(
	string disposition
)

Parameters

disposition  String
The disposition.

Remarks

The disposition should either be Attachment or Inline.

Exceptions

ArgumentNullException disposition is .
ArgumentException disposition is not "attachment" or "inline".

See Also