'Declaration
Public MustOverride Sub Lock()
'Usage
Dim instance As FormDefinition instance.Lock()
public abstract void Lock()
public: abstract void Lock();
'Declaration
Public MustOverride Sub Lock()
'Usage
Dim instance As FormDefinition instance.Lock()
public abstract void Lock()
public: abstract void Lock();
Exception | Description |
---|---|
FileAlreadyLockedException | 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. |
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.