Spread WinForms 15
GrapeCity.CalcEngine Assembly / GrapeCity.CalcEngine Namespace / StringBuilderCache Class / Release Method
The string builder.


In This Topic
Release Method
In This Topic
Place the specified builder in the cache if it is not too big. The stringbuilder should not be used after it has been released. Unbalanced Releases are perfectly acceptable. It will merely cause the runtime to create a new stringbuilder next time Acquire is called.
Syntax
'Declaration
 
Public Shared Sub Release( _
   ByVal sb As StringBuilder _
) 
 
'Usage
 
Dim sb As StringBuilder
 
StringBuilderCache.Release(sb)

Parameters

sb
The string builder.
See Also