Click or drag to resize
MimeKit

Parameter Class

A header parameter as found in the Content-Type and Content-Disposition headers.
Inheritance Hierarchy
SystemObject
  MimeKitParameter

Namespace: MimeKit
Assembly: MimeKit (in MimeKit.dll) Version: 4.3.0
Syntax
C#
public class Parameter

The Parameter type exposes the following members.

Constructors
 NameDescription
Public methodParameter(String, String) Initialize a new instance of the Parameter class.
Public methodParameter(Encoding, String, String) Initialize a new instance of the Parameter class.
Public methodParameter(String, String, String) Initialize a new instance of the Parameter class.
Top
Properties
 NameDescription
Public propertyAlwaysQuote Get or set whether the parameter value should always be quoted even if it normally wouldn't need to be.
Public propertyEncoding Get or set the parameter value character encoding.
Public propertyCode exampleEncodingMethod Get or set the parameter encoding method to use.
Public propertyName Get the parameter name.
Public propertyValue Get or set the parameter value.
Top
Methods
 NameDescription
Public methodClone Clone the parameter.
Public methodEquals
(Inherited from Object)
Protected methodFinalize
(Inherited from Object)
Public methodGetHashCode
(Inherited from Object)
Public methodGetType
(Inherited from Object)
Protected methodMemberwiseClone
(Inherited from Object)
Public methodToString Return a string representation of the Parameter.
(Overrides ObjectToString)
Top
Remarks
Content-Type and Content-Disposition headers often have parameters that specify further information about how to interpret the content.
See Also