TClrProcessStartInfo.StandardErrorEncoding Property

Gets or sets the preferred encoding for error output.

Namespace: CNClrLib.Component.Process
 property StandardErrorEncoding: _Encoding read GetStandardErrorEncoding write SetStandardErrorEncoding;

Property Value

Type: _Encoding

An object that represents the preferred encoding for error output. The default is nil.

If the value of the StandardErrorEncoding property is nil, the process uses the default standard error encoding for error output. The StandardErrorEncoding property must be set before the process is started. Setting this property does not guarantee that the process will use the specified encoding; the process will use only those encodings that it supports. The application should be tested to determine which encodings are supported.