Прочитај на енглеском

Делите путем


NativeArgumentPassingStyle Enum

Definition

Defines the different native command argument parsing options.

C#
public enum NativeArgumentPassingStyle
Inheritance
NativeArgumentPassingStyle

Fields

Name Value Description
Legacy 0

Use legacy argument parsing via ProcessStartInfo.Arguments.

Standard 1

Use new style argument passing via ProcessStartInfo.ArgumentList.

Windows 2

Use specific to Windows passing style which is Legacy for selected files on Windows, but Standard for everything else. This is the default behavior for Windows.

Applies to

Производ Верзије
PowerShell SDK 7.2.0, 7.3.0, 7.4.0