Spread Windows Forms 17
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 string builder should not be used after it has been released. Unbalanced Releases are perfectly acceptable. It will merely cause the runtime to create a new string builder next time Acquire is called.
    Syntax
    'Declaration
     
    
    Public Shared Sub Release( _
       ByVal sb As StringBuilder _
    ) 
    'Usage
     
    
    Dim sb As StringBuilder
     
    StringBuilderCache.Release(sb)
    public static void Release( 
       StringBuilder sb
    )

    Parameters

    sb
    The string builder.
    See Also