ValidatePatternAttribute
Class
Definition
Validates that each parameter argument matches the RegexPattern
[System.AttributeUsage(System.AttributeTargets.Property | System.AttributeTargets.Field)]
public sealed class ValidatePatternAttribute : System.Management.Automation.ValidateEnumeratedArgumentsAttribute
- Inheritance
-
ValidatePatternAttribute
- Attributes
Inherited Members
System.Management.Automation.ValidateEnumeratedArgumentsAttribute
Constructors
| ValidatePatternAttribute(String) |
Initializes a new instance of the ValidatePatternAttribute class |
Properties
| Options |
Gets or sets the Regex options to be used in the validation |
| RegexPattern |
Gets the Regex pattern to be used in the validation |