# PoolItem<T> Class A pool item. This class cannot be inherited. ## Definition **Namespace:** CapyKit **Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0+6cdd805be49c3b769a116584ea6904955ecd820d **C#** ``` C# public sealed class PoolItem ``` **VB** ``` VB Public NotInheritable Class PoolItem(Of T) ``` **C++** ``` C++ generic public ref class PoolItem sealed ``` **F#** ``` F# [] type PoolItem<'T> = class end ```
InheritanceObject → PoolItem(T)
#### Type Parameters
The type of the pooled item.
## Properties
Index Gets the zero-based index of the pooled item.
Item Gets the pooled resource.
Locked Gets a value indicating whether this object is locked or not.
TypeName Gets the name of the Type of the pooled item.
## Methods
Equals Determines whether the specified object is equal to the current object.
(Inherited from Object)
GetHashCode Serves as the default hash function.
(Inherited from Object)
GetType Gets the Type of the current instance.
(Inherited from Object)
ReleaseLock Releases the lock on the item.
SetLock Sets the lock on the item indicating that it is in use.
ToString Returns a string that represents the current object and its lock state.
(Overrides Object.ToString())
## See Also #### Reference CapyKit Namespace