StartFunctionalGroup Event
Fires whenever a control segment is read that marks the start of a functional group.
Syntax
public event OnStartFunctionalGroupHandler OnStartFunctionalGroup; public delegate void OnStartFunctionalGroupHandler(object sender, TradacomsreaderStartFunctionalGroupEventArgs e); public class TradacomsreaderStartFunctionalGroupEventArgs : EventArgs { public string Tag { get; } public string ControlNumber { get; } public string FullSegment { get; } }
Public Event OnStartFunctionalGroup As OnStartFunctionalGroupHandler Public Delegate Sub OnStartFunctionalGroupHandler(sender As Object, e As TradacomsreaderStartFunctionalGroupEventArgs) Public Class TradacomsreaderStartFunctionalGroupEventArgs Inherits EventArgs Public ReadOnly Property Tag As String Public ReadOnly Property ControlNumber As String Public ReadOnly Property FullSegment As String End Class
Remarks
The StartFunctionalGroup event will fire when a control segment marking the start of a functional group structure is read. The Tag parameter contains the tag of the segment, such as GS. ControlNumber contains the control number associated with the segment.