Language
Edit

IDataObjectPool.UnusedObjectsCount Method

Definition

Get the number of unused objects in the pool.

public int UnusedObjectsCount();
abstract member UnusedObjectsCount : unit -> int
Public Function UnusedObjectsCount () As Integer

Returns

Number of prefetched objects.

Remarks

This count does not include any prefetched objects. Note that it is possible to forfeit a prefetched object and re-use it at any time.

Applies to