PooledStringBuilder.CreatePool(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
If someone need to create a private pool
public static Microsoft.VisualStudio.Utilities.ObjectPool<Microsoft.VisualStudio.Utilities.PooledStringBuilder> CreatePool (int size = 32);
static member CreatePool : int -> Microsoft.VisualStudio.Utilities.ObjectPool<Microsoft.VisualStudio.Utilities.PooledStringBuilder>
Public Shared Function CreatePool (Optional size As Integer = 32) As ObjectPool(Of PooledStringBuilder)
Parameters
- size
- Int32
The size of the pool.