IP*Works! 2016 .NET Edition
IP*Works! 2016 .NET Edition
Questions / Feedback?

Header Event

Fired every time a header is parsed.

Syntax

[VB.NET]
Public Event OnHeader As OnHeaderHandler
[C#]
public event OnHeaderHandler OnHeader;

public delegate void OnHeaderHandler(object sender, MimeHeaderEventArgs e);

class MimeHeaderEventArgs : EventArgs {
  int PartIndex {get;}
  string Field {get;}
  string Value {get;}  byte[] ValueB {get;}
}

Remarks

The PartIndex parameter contains the index of the part containing the current header. If the header is from the MIME body, this value will be -1. The Field parameter contains the name of the MIME header. The Value parameter contains the header contents. The Header event is fired when a header is parsed, which occurs for each header of the Message when DecodeFromFile, DecodeFromString, or DecodeFromStream is called.

 
 
Copyright (c) 2020 /n software inc. - All rights reserved.
IP*Works! 2016 .NET Edition - Version 16.0 [Build 7353]