PostSharp 6.6 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Formatters Namespace / Unsafe­String­Builder­Pool Class / Unsafe­String­Builder­Pool Methods / Unsafe­String­Builder­Pool.​Return­Instance Method

UnsafeStringBuilderPool.ReturnInstance Method

Returns an UnsafeStringBuilder to the pool.

Namespace:  PostSharp.Patterns.Formatters
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.6.14.0 (6.6.14.0)
Syntax
C#
public void ReturnInstance(
	UnsafeStringBuilder stringBuilder
)

Parameters

stringBuilder
Type: PostSharp.Patterns.Formatters.UnsafeStringBuilder
An UnsafeStringBuilder that has compatible values of the Capacity and ThrowOnOverflow.
See Also