EditCodes enum | QSYS API Reference Guide

Defines the equivalent code-names for the supported [IBM i Edit Codes.

Namespace: ASNA.QSys.Expo.Model Assembly: ASNA.QSys.Expo.Model.dll

Remarks

C# Syntax for Enumerations provides a descriptive naming, such that when referencing a member, the name of the enumeration is included in the syntax.

For example, to refer to Edit Code “D”, you would enter:

 EditCodes.D

Notes:

  1. The enum member does not need the word EditCode, that is, to avoid duplication, like EditCodes.EditCode_D (or something like it).
  2. C# names do not allow the first letter to be a numeric value, then for Edit Code ‘3’, the named is spelled out as EditCodes.Three.

Enum Values

Name Description Value
A Edit Code “A” 5
B Edit Code “B” 6
C Edit Code “C” 7
D Edit Code “D” 8
Four Edit Code “4” 4
J Edit Code “J” 9
K Edit Code “K” 10
L Edit Code “L” 11
M Edit Code “M” 12
N Edit Code “N” 13
Nine Edit Code “9” 9
None Do not use an Edit Code. 0
O Edit Code “O” 14
One Edit Code “1” 1
P Edit Code “P” 15
Q Edit Code “Q” 16
Three Edit Code “3” 3
Two Edit Code “2” 2
W Edit Code “W” 17
X Edit Code “X” 18
Y Edit Code “Y” 19
Z Edit Code “Z” 20