Click or drag to resize
MimeKit

ContentDisposition(String) Constructor

Initialize a new instance of the ContentDisposition class.

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

Parameters

disposition  String
The disposition.
Exceptions
ExceptionCondition
ArgumentNullExceptiondisposition is null.
ArgumentExceptiondisposition is not "attachment" or "inline".
Remarks
The disposition should either be Attachment or Inline.
See Also