通过


InvocationConfiguration.Output 属性

定义

获取或设置标准输出。

public:
 property System::IO::TextWriter ^ Output { System::IO::TextWriter ^ get(); void set(System::IO::TextWriter ^ value); };
public System.IO.TextWriter Output { get; set; }
member this.Output : System.IO.TextWriter with get, set
Public Property Output As TextWriter

属性值

默认值设置为 Out

注解

标准输出由帮助和其他编写非错误信息的设施使用。 出于测试目的,可以将它设置为新实例 StringWriter。 如果要禁用输出,请将其设置为 Null.

适用于