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



Accusoft.FormDirectorSdk Namespace > FormSet Class : Lock Method
Locks the form set file so other users or programs cannot read or write it.
Syntax
'Declaration
 
Public MustOverride Sub Lock() 
'Usage
 
Dim instance As FormSet
 
instance.Lock()
public abstract void Lock()
public:
abstract void Lock(); 
Exceptions
ExceptionDescription
Thrown if the form set file is already locked by a different user or program before you call this method, or if another user or program is currently reading from the file.
Remarks

This method locks the form set file. The implementation of this method resides in the FormSetFile class or in a class you derive from FormSet. The class that implements this method determines the exact details of what you must do before locking a form set file, when you must lock a form set file, and how multiple locks are handled.

See Also

Reference

FormSet Class
FormSet Members
Unlock Method
IsLocked Property
FormSetFile.Lock Method

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