MailKit Documentation
MailKit Documentation
API Reference
MimeKit
ContentDisposition Class
ContentDisposition Constructor
ContentDisposition Constructor
ContentDisposition(String) Constructor
Content
Disposition(String) Constructor
Initialize a new instance of the
ContentDisposition
class.
Namespace:
MimeKit
Assembly:
MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax
C#
Copy
public
ContentDisposition
(
string
disposition
)
Parameters
disposition
String
The disposition.
Exceptions
Exception
Condition
ArgumentNullException
disposition
is
null
.
ArgumentException
disposition
is not
"attachment"
or
"inline"
.
Remarks
The disposition should either be
Attachment
or
Inline
.
See Also
Reference
ContentDisposition Class
ContentDisposition Overload
MimeKit Namespace
Copyright © 2013-2023 Jeffrey Stedfast
Send comments on this topic to
Jeffrey Stedfast