Spread WinForms 15
GrapeCity.CalcEngine Assembly / GrapeCity.CalcEngine Namespace / StringBuilderCache Class


In This Topic
StringBuilderCache Class Methods
In This Topic

For a list of all members of this type, see StringBuilderCache members.

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