Adds a new syntax level.
Syntax:
Parameters:
Controlling Agency:
Returns
Returns an object of type FREDI.ediSyntaxLevel if successful. Returns empty if the method fails.
Example 1: To add a syntax level "C".
' Get the Syntax Level collection object.
Set oSyntaxLevels = oEdiDoc.GetSyntaxLevels
' Add Syntax Level "C"
Set oSyntaxLevel = oSyntaxLevels.AddSyntaxLevel("C")
Example 2: To add a syntax level for ASC/X12.
' Get the Syntax Level collection object.
Set oSyntaxLevels = oEdiDoc.GetSyntaxLevels
' Add Syntax Level "ASC X12"
Set oSyntaxLevel = oSyntaxLevels.AddSyntaxLevel("ASC X12")