Language
Edit

DataObjectPool.GetObjectFromPool(Boolean) Method

Definition

Get an object from the pool, with option to forfeit a prefetched object

public object GetObjectFromPool(bool canReusePrefetchObject = true);
abstract member GetObjectFromPool : bool -> obj
override this.GetObjectFromPool : bool -> obj
Public Function GetObjectFromPool (Optional canReusePrefetchObject As Boolean = true) As Object

Parameters

canReusePrefetchObject
Boolean

If no unused items are found, allow re-use of an existing prefetched item.

Returns

The object to re-use.

Implements

Applies to