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

Name Description
ValidateUserDriveAttribute()

Initializes a new instance of the ValidateUserDriveAttribute class.

Properties

Name Description
ValidRootDrives

Gets the values in the set.

(Inherited from ValidateDriveAttribute)

Methods

Name Description
Validate(Object, EngineIntrinsics)

Validates path argument.

(Inherited from ValidateDriveAttribute)

Applies to