StandardStreamExtensionsGetStandardStream(TextReader) Method
Namespace: Ookii.CommandLine.TerminalAssembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 5.0.0+724ca9b7fa5edc075ec2ae65044e61b0d494fd1c
public static StandardStream? GetStandardStream(
this TextReader reader
)
<ExtensionAttribute>
Public Shared Function GetStandardStream (
reader As TextReader
) As StandardStream?
Dim reader As TextReader
Dim returnValue As StandardStream?
returnValue = reader.GetStandardStream()
public:
[ExtensionAttribute]
static Nullable<StandardStream> GetStandardStream(
TextReader^ reader
)
- reader TextReader
- The TextReader.
NullableStandardStream
The
StandardStream that
reader is reading from, or
if it's not reading from the standard input stream.
In Visual Basic and C#, you can call this method as an instance method on any object of type
TextReader. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).