AnswerCollection.Save Method

This method saves the answer collection. If you are creating an answer file, you can specify a location on the disk to save it to and use the FileFormat property to specify the type of answer file (either .ANS or .ANX). If you are using a pre-existing answer file, it will save any changes to the file to the location where the answer file resides.

If the file name is left blank then this method will save over the current answer file. A file name needs to be specified to create a new saved answer file.

Syntax

void Save ( string filePath )

Parameters Description
filePath [optional] The file name and path of the answer file.