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