StandardStreamExtensionsIsRedirected Method
Gets a value that indicates whether the specified standard stream is redirected.
Namespace: Ookii.CommandLine.TerminalAssembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 5.0.0+724ca9b7fa5edc075ec2ae65044e61b0d494fd1c
public static bool IsRedirected(
this StandardStream stream
)
<ExtensionAttribute>
Public Shared Function IsRedirected (
stream As StandardStream
) As Boolean
Dim stream As StandardStream
Dim returnValue As Boolean
returnValue = stream.IsRedirected()
public:
[ExtensionAttribute]
static bool IsRedirected(
StandardStream stream
)
- stream StandardStream
- The StandardStream value.
Boolean if the standard stream indicated by
stream is
redirected; otherwise,
.
In Visual Basic and C#, you can call this method as an instance method on any object of type
StandardStream. 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).