2024-04-19 23:12:24 -05:00
# ReleaseItem Method
Releases the lock on the specified item and returns it to the pool.
## Definition
2024-04-21 03:30:36 -05:00
**Namespace:** < a href = "N_CapyKit.md" > CapyKit< / a >
2024-04-22 18:28:21 -05:00
**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0
2024-04-19 23:12:24 -05:00
**C#**
``` C#
public void ReleaseItem(
PoolItem< T > item
)
```
**F#**
``` F#
member ReleaseItem :
item : PoolItem< 'T> -> unit
```
#### Parameters
2024-04-21 03:30:36 -05:00
< dl > < dt > < a href = "T_CapyKit_PoolItem_1.md" > PoolItem< / a > (< a href = "T_CapyKit_Pool_1.md" > T< / a > )< / dt > < dd > The item to release.< / dd > < / dl >
2024-04-19 23:12:24 -05:00
## Remarks
2024-04-21 03:30:36 -05:00
This method sets the < a href = "P_CapyKit_PoolItem_1_Locked.md" > Locked< / a > flag to false so that it can be retrieved by < a href = "M_CapyKit_Pool_1_GetAvailableItem.md" > GetAvailableItem()< / a > .
2024-04-19 23:12:24 -05:00
## See Also
#### Reference
2024-04-21 03:30:36 -05:00
< a href = "T_CapyKit_Pool_1.md" > Pool(T) Class< / a >
< a href = "N_CapyKit.md" > CapyKit Namespace< / a >