Freigeben über


ValidateUserDriveAttribute Class

Definition

Validates that the path parameter is a User drive.

public ref class ValidateUserDriveAttribute sealed : System::Management::Automation::ValidateDriveAttribute
[System.AttributeUsage(System.AttributeTargets.Field | System.AttributeTargets.Property)]
public sealed class ValidateUserDriveAttribute : System.Management.Automation.ValidateDriveAttribute
[<System.AttributeUsage(System.AttributeTargets.Field | System.AttributeTargets.Property)>]
type ValidateUserDriveAttribute = class
    inherit ValidateDriveAttribute
Public NotInheritable Class ValidateUserDriveAttribute
Inherits ValidateDriveAttribute
Inheritance
Attributes

Constructors

ValidateUserDriveAttribute()

Initializes a new instance of the ValidateUserDriveAttribute class.

Properties

ValidRootDrives

Gets the values in the set.

(Inherited from ValidateDriveAttribute)

Methods

Validate(Object, EngineIntrinsics)

Validates path argument.

(Inherited from ValidateDriveAttribute)

Applies to