Received Clause Class
A parsed representation of a clause in a Received header.
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 ReceivedClause- Inheritance
- Object ReceivedClause
Remarks
Each clause in a Received header is made up of a keyword (such as "from", "by",
"via", "with", "id", or "for") and a corresponding value. A clause may also include a
comment (or, as with some non-compliant mail software, a series of comments).
Constructors
| ReceivedClause(String, String) | Initializes a new instance of the ReceivedClause class. |
| ReceivedClause(String, String, String) | Initializes a new instance of the ReceivedClause class. |
Properties
| Comments | Get the collection of comments associated with the clause. |
| Id | Get the identifier for the clause. |
| Keyword | Get the keyword used to identify the clause. |
| Value | Get or set the value for the clause. |
Methods
| 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 | Returns a string that represents the current object. (Inherited from Object) |