ValidateCountAttribute 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 parameter argument count is in the specified range
public ref class ValidateCountAttribute sealed : System::Management::Automation::ValidateArgumentsAttribute
[System.AttributeUsage(System.AttributeTargets.Field | System.AttributeTargets.Property)]
public sealed class ValidateCountAttribute : System.Management.Automation.ValidateArgumentsAttribute
[System.AttributeUsage(System.AttributeTargets.Property | System.AttributeTargets.Field)]
[System.AttributeUsage(System.AttributeTargets.Field | System.AttributeTargets.Property)]
public sealed class ValidateCountAttribute : System.Management.Automation.ValidateArgumentsAttribute
type ValidateCountAttribute = class
inherit ValidateArgumentsAttribute
Public NotInheritable Class ValidateCountAttribute
Inherits ValidateArgumentsAttribute
- Inheritance
- Attributes
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 |
Methods
| Validate(Object, EngineIntrinsics) |
Overridden by subclasses to implement the validation of the parameter arguments (Inherited from ValidateArgumentsAttribute) |