public override string? ToString()
Public Overrides Function ToString As String
Dim instance As LineWrappingTextWriter
Dim returnValue As String
returnValue = instance.ToString()
public:
virtual String^ ToString() override
If the BaseWriter property is an instance of the StringWriter class, this method will return all text written to this LineWrappingTextWriter instance, including text that hasn't been flushed to the underlying StringWriter yet. It does this without flushing the buffer.