As400Program.AppendParm Method
Definition
Namespace: ASNA.DataGate.Client
Assembly: ASNA.QSys.DataGate.Client.dll
Appends a parameter to the program.
Overloads
| Signature | Description |
|---|---|
| AppendParm(void AppendParm(ProgParm parameter)) | Appends a parameter to the program. |
| AppendParm(void AppendParm(ProgParm parameter)) | Appends a parameter to the specified list of parameters. |
void AppendParm(ProgParm parameter)
Appends a parameter to the program.
Remarks
This method appends a parameter to the program in the ASNA DataGate client. It checks if the provided parameter is null, and if so, throws an ArgumentNullException. It then adds the parameter to the list of parameters for the program.
void AppendParm(ProgParm parameter)
Parameters
| Type | Parameter name | Description |
|---|---|---|
| ProgParm | parameter | The parameter to append. |
void AppendParm(ProgParm parameter)
Appends a parameter to the specified list of parameters.
Remarks
This method appends a parameter to the specified list of parameters in the ASNA DataGate client. It checks if the provided parameter is named, and if not, throws an ArgumentException. It also checks if a parameter with the same name already exists in the list, and if so, throws an ArgumentException. It then adds the parameter to the list.
void AppendParm(ProgParm parameter)