Spread Windows Forms 15.0
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 stringbuilder is in the cache then it will be returned and the cache emptied. subsequent calls will return a new stringbuilder.  
    Public Methodstatic (Shared in Visual Basic)ToString() the stringbuilder, 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 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.  
    Top
    See Also