Parameter Class
A header parameter as found in the Content-Type and Content-Disposition headers.
Definition
Namespace: MimeKit
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public class Parameter- Inheritance
- Object Parameter
Remarks
Content-Type and Content-Disposition headers often have parameters that specify
further information about how to interpret the content.
Constructors
| Parameter(String, String) | Initialize a new instance of the Parameter class. |
| Parameter(Encoding, String, String) | Initialize a new instance of the Parameter class. |
| Parameter(String, String, String) | Initialize a new instance of the Parameter class. |
Properties
| AlwaysQuote | Get or set whether the parameter value should always be quoted even if it normally wouldn't need to be. |
| Encoding | Get or set the parameter value character encoding. |
| EncodingMethod | Get or set the parameter encoding method to use. |
| Name | Get the parameter name. |
| Value | Get or set the parameter value. |
Methods
| Clone | Clone the parameter. |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
| GetHashCode | Serves as the default hash function. (Inherited from Object) |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
| ToString |
Return a string representation of the Parameter.
(Overrides ObjectToString) |