ReusableStringBuilder Class

Visual Studio 2015
 

Represents a reusable StringBuilder. The StringBuilder is cleared after each cleanup to remove content from the previous usage.

Namespace:   Microsoft.VisualStudio.Utilities
Assembly:  Microsoft.VisualStudio.Utilities (in Microsoft.VisualStudio.Utilities.dll)


public sealed class ReusableStringBuilder : ReusableResourceStore<StringBuilder, int>

NameDescription
System_CAPS_pubmethodReusableStringBuilder(Int32)

Initializes a new instance of ReusableStringBuilder with the specified cache capacity.

NameDescription
System_CAPS_pubmethodAcquire(TConstructorParameter)

Acquires a cached instance of the resource, or allocates a new instance if none are currently available. This is a disposable object that should be disposed when usage of the resource is complete.(Inherited from ReusableResourceStore<TResource, TConstructorParameter>.)

System_CAPS_pubmethodSystem_CAPS_staticAcquireDefault(Int32)

Gets the default ReusableStringBuilder.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: