Метод | Описание | |
---|---|---|
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. |
Результат | ValidationResult |
public MaxLengthAttribute ( int length ) : System | ||
length | int | The supplied length. |
Результат | System |