Spread Windows Forms 17
GrapeCity.CalcEngine Assembly / GrapeCity.CalcEngine Namespace / StringBuilderCache Class
Methods


In This Topic
    StringBuilderCache Class Members
    In This Topic

    The following tables list the members exposed by StringBuilderCache.

    Public Methods
     NameDescription
    Public Methodstatic (Shared in Visual Basic)Get a string builder to use of a particular size. It can be called any number of times, if a string builder is in the cache then it will be returned and the cache emptied. subsequent calls will return a new string builder.  
    Public Methodstatic (Shared in Visual Basic)ToString() the string builder, Release it to the cache and return the resulting string  
    Public Methodstatic (Shared in Visual Basic)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.  
    Top
    See Also