Hunny Software Library Reference

Field Class

Class that represents a header field.

For a list of all members of this type, see Field Members.

System.Object
   Node
      Field

[Visual Basic]
Public Class Field
Inherits Node
[C#]
public class Field : Node

Remarks

Field represents a header field as described in RFC 2822. According to RFC 2822, a header field contains a field name and a field body. In Hunny MIME.NET, a Field contains two elements: a String that contains its field name and a FieldBody object that represents its field body.

In the document tree representation of a message, a Field object is always an intermediate node, having a parent node and a single child node. The parent node is the Headers object that contains it. The child node is the FieldBody object it contains.

To get or set the field name, get or set the FieldName property. To get or set the contained FieldBody object, get or set the FieldBody property.

Requirements

Namespace: Hunny.Mime

Assembly: Hunny.Mime (in Hunny.Mime.dll)

See Also

Field Members | Hunny.Mime Namespace