StringWriter Constructor (StringBuilder)
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Initializes a new instance of the StringWriter class that writes to the specified StringBuilder.
Assembly: mscorlib (in mscorlib.dll)
Parameters
- sb
- Type: System.Text.StringBuilder
The StringBuilder to write to.
| Exception | Condition |
|---|---|
| ArgumentNullException | sb is Nothing. |
Show: