共用方式為


PooledStringBuilder.CreatePool(Int32) Method

Definition

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.

Returns

Applies to