ValidateDriveAttribute Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Validates that the path has an approved root drive.
public ref class ValidateDriveAttribute : System::Management::Automation::ValidateArgumentsAttribute
[System.AttributeUsage(System.AttributeTargets.Field | System.AttributeTargets.Property)]
public class ValidateDriveAttribute : System.Management.Automation.ValidateArgumentsAttribute
[<System.AttributeUsage(System.AttributeTargets.Field | System.AttributeTargets.Property)>]
type ValidateDriveAttribute = class
inherit ValidateArgumentsAttribute
Public Class ValidateDriveAttribute
Inherits ValidateArgumentsAttribute
- Inheritance
- Derived
- Attributes
Constructors
ValidateDriveAttribute(String[]) |
Initializes a new instance of the ValidateDriveAttribute class. |
Properties
ValidRootDrives |
Gets the values in the set. |
Methods
Validate(Object, EngineIntrinsics) |
Validates path argument. |