Επεξεργασία

Κοινή χρήση μέσω


ProcessStartInfo.StandardOutputEncoding Property

Definition

Gets or sets the preferred encoding for standard output.

public:
 property System::Text::Encoding ^ StandardOutputEncoding { System::Text::Encoding ^ get(); void set(System::Text::Encoding ^ value); };
public System.Text.Encoding? StandardOutputEncoding { get; set; }
public System.Text.Encoding StandardOutputEncoding { get; set; }
member this.StandardOutputEncoding : System.Text.Encoding with get, set
Public Property StandardOutputEncoding As Encoding

Property Value

An object that represents the preferred encoding for standard output. The default is null.

Remarks

If the value of the StandardOutputEncoding property is null, the process uses the default standard output encoding for the standard output. The StandardOutputEncoding property must be set before the process is started. Setting this property does not guarantee that the process will use the specified encoding. The application should be tested to determine which encodings the process supports.

Applies to