FormFix v6.0 for .NET - Updated
Read Method (FormSetFile)



Accusoft.FormDirectorSdk Namespace > FormSetFile Class : Read Method
Reads a form set file and places the content into properties of this object.
Syntax
'Declaration
 
Public Overrides Sub Read() 
'Usage
 
Dim instance As FormSetFile
 
instance.Read()
public override void Read()
public:
void Read(); override 
Remarks

This method reads a form set file and populates the Name, FormDefinitions, Operations, Identification, and OtherDataItems properties.

You do not need to lock the form set file using the Lock method before you call this method. If the file is not locked, this method will automatically open it, read the contents, and then close it.

Note that this method creates FormDefinition objects and sets their filename, but it does not read the form definition files. After you call this method, you must also loop through each FormDefinition in the Forms collection and read its file.

Before you call this method, you must set the Filename property to the name of a file that exists, or it will throw an exception.

This method verifies that the form set file has a valid version number. It will throw an exception if the version number of the file is later than the version that this component recognizes.

See Also

Reference

FormSetFile Class
FormSetFile Members
Lock Method
Write Method
Filename Property

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