Console.AllText Property
Console.AllText (read-only, String)
The current textual contents of the console output window
Syntax
Console.AllText
The property syntax has these parts:
Part |
Description |
Value (String) |
The current textual contents of the console output window |
Remarks
This property is similar to Console.Text except it does not take an optional line count parameter. It is provided for .NET clients. The .NET interop assembly builder will not include properties with parameters. From .NET, use this property to get all of the console text and then extract what you need.
Note: The console window holds only the last 30000 characters that were written via Console.PrintLine(). To recover the entire text of a session, enable console logging and access the log file (after the script completes and the log has been closed).
Copyright © 2000-2016, Robert B. Denny, Mesa, AZ