ValidateCountAttribute
Class
Definition
Validates that the parameter argument count is in the specified range
[System.AttributeUsage(System.AttributeTargets.Property | System.AttributeTargets.Field)]
public sealed class ValidateCountAttribute : System.Management.Automation.ValidateArgumentsAttribute
- Inheritance
- Attributes
Inherited Members
System.Management.Automation.ValidateArgumentsAttribute
Constructors
| ValidateCountAttribute(Int32, Int32) |
Initializes a new instance of the ValidateCountAttribute class |
Properties
| MaxLength |
Gets the maximum length of this attribute |
| MinLength |
Gets the minimum length of this attribute |