Bewerken

Delen via


ProcessStartInfo.StandardInputEncoding Property

Definition

Gets or sets the preferred encoding for standard input.

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

Property Value

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

Remarks

If the value of the StandardInputEncoding property is null, the process uses the default standard input encoding for the standard input. The StandardInputEncoding 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