 | JCOBridgeObjectPoolTRent Method |
Retrieves an instance from the pool, or creates a new one if no pooled instance is available.
Namespace: MASES.JCOBridge.C2JBridgeAssembly: C2JBridge (in C2JBridge.dll) Version: 2.6.10.261112-5ffe0920c00dbac056780af7ab9b1978b26ef4a5
Syntaxpublic T Rent(
ref bool fromPool
)
Public Function Rent (
ByRef fromPool As Boolean
) As T
Parameters
- fromPool Boolean
-
Set to if the returned instance came from the pool;
if it was freshly created by the factory.
Use this flag to determine whether the instance needs to be reset before use.
Under a standard license this parameter is always .
Return Value
TAn instance of
T.
See Also