共用方式為


ValidateDriveAttribute(String[]) Constructor

Definition

Initializes a new instance of the ValidateDriveAttribute class.

public:
 ValidateDriveAttribute(... cli::array <System::String ^> ^ validRootDrives);
public ValidateDriveAttribute (params string[] validRootDrives);
new System.Management.Automation.ValidateDriveAttribute : string[] -> System.Management.Automation.ValidateDriveAttribute
Public Sub New (ParamArray validRootDrives As String())

Parameters

validRootDrives
String[]

List of approved root drives for path.

Applies to