Attributes are encoded into array of bytes. If it is necessary to modify the attributes for the added or deleted pages of the form, the attributes object should be opened using either FormRecognitionEngine.OpenForm or FormRecognitionEngine.OpenMasterForm. Then close the object by using either FormRecognitionEngine.CloseForm or FormRecognitionEngine.CloseMasterForm.
For an example, refer to SetData.