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