Releases the object.
[ bUnlocked = ] Object.UnLock
The UnLock method syntax has the following parts:
|
Name |
Type |
Description |
|
Object |
AMutex |
AMutex object |
|
bUnlocked |
Variant(Bool) |
A boolean expression that specifies whether the object is locked or unlocked. |
bUnlocked can be one of the following:
|
Value |
Description |
|
True * |
The AMutex object is unlocked. |
|
False |
The AMutex object is locked. |
You must call the Unlock member function once for each call to Lock.
The following statement unlocks a mutex:
bmutexAMutex1Unlock = mutexAMutex1.UnLock