CapyKit/Documentation/Help/M_CapyKit_Pool_1_ReleaseItem.md
2024-09-04 19:31:43 -05:00

37 lines
837 B
Markdown
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# ReleaseItem Method
Releases the lock on the specified item and returns it to the pool.
## Definition
**Namespace:** <a href="N_CapyKit.md">CapyKit</a>
**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2
**C#**
``` C#
public void ReleaseItem(
PoolItem<T> item
)
```
**F#**
``` F#
member ReleaseItem :
item : PoolItem<'T> -> unit
```
#### Parameters
<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>
## Remarks
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>.
## See Also
#### Reference
<a href="T_CapyKit_Pool_1.md">Pool(T) Class</a>
<a href="N_CapyKit.md">CapyKit Namespace</a>