Method | Description | |
---|---|---|
IsValid ( |
Determines whether the specified value is valid for the supplied property.
|
|
MaxLengthAttribute ( int length ) : System |
Creates a new MaxLengthAttribute instance with the supplied length.
|
public IsValid ( |
||
propertyToValidate | The supplied property. | |
value | object | The supplied value. |
return | ValidationResult |
public MaxLengthAttribute ( int length ) : System | ||
length | int | The supplied length. |
return | System |