Menu

CustomHeaders

2003-04-01
2003-04-01
  • Jacob Kofod

    Jacob Kofod - 2003-04-01

    Hi!

    Why not save customheaders in a ArrayList containing HeaderField objects? Fore example I need to work with the individual header fields, and it would be nice to get a collection of HeaderField objects, instead of working with a NameValueCollection.

    The Header class could look something like:

    public class HeaderField
    {
        string fieldName;
        string fieldBody;

        public string FieldName
        {
        get { return fieldName; }
        set { fieldName = value; }
        }

                    public string FieldBody
        {
        get { return fieldBody; }
        set { fieldBody = value; }
        }

        }

     
    • Ian Stallings

      Ian Stallings - 2003-04-01

      This should be quick and I'll add it to the next release. Thanks for the input.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.