HRESULT SaveText(int controlId, LPCWSTR tsVariableName, LPCWSTR summaryCaption)
This method saves the value of a text control to both a task sequence variable and the summary section. Typically, you will not need to call this method yourself, because the form controller does this for all fields. See Table 38.
Table 38. HRESULT SaveText
Parameter |
Description |
controlId |
The ID of the text box that contains the value you want to save (or any other control that can return text) |
tsVariableName |
Name of the task sequence variable that you want to modify |
summaryCaption |
The caption on the Summary page for this value |
Related Topics