Output Event
Fires whenever a segment is complete.
Syntax
public event OnOutputHandler OnOutput; public delegate void OnOutputHandler(object sender, Hl7writerOutputEventArgs e); public class Hl7writerOutputEventArgs : EventArgs { public string OutputData { get; }
public byte[] OutputDataB { get; } }
Public Event OnOutput As OnOutputHandler Public Delegate Sub OnOutputHandler(sender As Object, e As Hl7writerOutputEventArgs) Public Class Hl7writerOutputEventArgs Inherits EventArgs Public ReadOnly Property OutputData As String
Public ReadOnly Property OutputDataB As Byte() End Class
Remarks
The Output event will fire when the writer completes a new segment and writes data to the output stream or buffer. The Data parameter contains the data bytes.