StringUtilities..::..Release Method

Releases the specified string builder back to the cache.

Namespace:  Tortuga.Anchor
Assembly:  Tortuga.Anchor (in Tortuga.Anchor.dll)

Syntax


public static string Release(
	StringBuilder stringBuilder
)
Public Shared Function Release ( _
	stringBuilder As StringBuilder _
) As String

Parameters

stringBuilder
Type: StringBuilder
The string builder to release. Once released, it can no longer be used until re-acquired.

Return Value

Contents of the string builder.

Remarks


Though not strictly required, it is preferable to release a string builder onto the same thread that acquired it.