Click or drag to resize
Json.NET

IArrayPoolTRent Method

 
Rent an array from the pool. This array must be returned when it is no longer needed.

Namespace:  Newtonsoft.Json
Assembly:  Newtonsoft.Json (in Newtonsoft.Json.dll) Version: 12.0.1+509643a8952ce731e0207710c429ad6e67dc43db
Syntax
C#
T[] Rent(
	int minimumLength
)

Parameters

minimumLength
Type: SystemInt32
The minimum required length of the array. The returned array may be longer.

Return Value

Type: T
The rented array from the pool. This array must be returned when it is no longer needed.
See Also