FormFix v6.0 for .NET - Updated
Write Method (FormSet)



Accusoft.FormDirectorSdk Namespace > FormSet Class : Write Method
Writes the form set properties of this object to persistent storage.
Syntax
'Declaration
 
Public MustOverride Sub Write() 
'Usage
 
Dim instance As FormSet
 
instance.Write()
public abstract void Write()
public:
abstract void Write(); 
Remarks

This method writes the Name, FormDefinitions, Identification, Operations, and OtherDataItems properties to a form set file or some other form of persistent storage. When it is complete, it sets the HasChanged property to false. The implementation of this method resides in the FormSetFile class or in a class that you derive from FormSet.

If you derive a new class from FormSet, you must override this method with code that saves the Name, FormDefinitions, Identification, Operations, and OtherDataItems properties, then sets the HasChanged property to false. Unless it is inconvenient, you should require the form set file to be locked to call this method.

If you are storing your form definitions in a database, it may be inconvenient to hold a database lock for the amount of time that a form set is often locked. In that case, you may resort to optimistic locking and detect changes made by another user as you write the form set to the database.

See Also

Reference

FormSet Class
FormSet Members
FormSetFile.Write Method

Is this page helpful?
Yes No
Thanks for your feedback.