mirror of
https://github.com/wagesj45/CapyKit.git
synced 2024-11-14 04:03:36 -06:00
32 lines
611 B
Markdown
32 lines
611 B
Markdown
# GetAvailableItem Method
|
|
|
|
|
|
Gets the first available item from the pool and sets its lock.
|
|
|
|
|
|
|
|
## Definition
|
|
**Namespace:** <a href="N_CapyKit.md">CapyKit</a>
|
|
**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2
|
|
|
|
**C#**
|
|
``` C#
|
|
public PoolItem<T> GetAvailableItem()
|
|
```
|
|
**F#**
|
|
``` F#
|
|
member GetAvailableItem : unit -> PoolItem<'T>
|
|
```
|
|
|
|
|
|
|
|
#### Return Value
|
|
<a href="T_CapyKit_PoolItem_1.md">PoolItem</a>(<a href="T_CapyKit_Pool_1.md">T</a>)
|
|
The first available item from the pool.
|
|
|
|
## See Also
|
|
|
|
|
|
#### Reference
|
|
<a href="T_CapyKit_Pool_1.md">Pool(T) Class</a>
|
|
<a href="N_CapyKit.md">CapyKit Namespace</a>
|