public static TextWriter GetWriter(
this StandardStream stream
)
<ExtensionAttribute>
Public Shared Function GetWriter (
stream As StandardStream
) As TextWriter
Dim stream As StandardStream
Dim returnValue As TextWriter
returnValue = stream.GetWriter()
public:
[ExtensionAttribute]
static TextWriter^ GetWriter(
StandardStream stream
)
The returned TextWriter instance should not be disposed by the caller.
ArgumentException | stream was a value other than StandardStreamOutput or StandardStreamError. |