StringWriter.GetStringBuilder Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Returns the underlying StringBuilder.

Namespace: System.IO
Assembly: mscorlib (in mscorlib.dll)


Public Overridable Function GetStringBuilder As StringBuilder
public virtual StringBuilder GetStringBuilder()

Return Value

Type: System.Text..::.StringBuilder
The underlying StringBuilder.


This is either the StringBuilder that was passed to the constructor, or the StringBuilder that was automatically created.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0


Windows Phone

See Also


StringWriter Class

System.IO Namespace