Accusoft.FormDirector3.Net - Updated
Lock Method (FormDefinition)




Accusoft.FormDirectorSdk Namespace > FormDefinition Class : Lock Method
Locks the form definition file so other users or programs cannot read or write it.
Syntax
'Declaration
 
Public MustOverride Sub Lock() 
'Usage
 
Dim instance As FormDefinition
 
instance.Lock()
public abstract void Lock()
public: abstract void Lock(); 
public:
abstract void Lock(); 
Exceptions
ExceptionDescription
Thrown if the form definition 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 definition file. The implementation of this method resides in the FormDefinitionFile class or in a class you derive from FormDefinition. The class that implements this method determines the exact details of what you must do before locking a form definition file, when you must lock a form definition file, and how multiple locks are handled.

See Also

Reference

FormDefinition Class
FormDefinition Members
Unlock Method
IsLocked Property
FormDefinitionFile.Lock Method