ערוך

שתף באמצעות


RangeAttribute.IsValid(Object) Method

Definition

Checks that the value of the data field is in the specified range.

public:
 override bool IsValid(System::Object ^ value);
public override bool IsValid (object value);
public override bool IsValid (object? value);
override this.IsValid : obj -> bool
Public Overrides Function IsValid (value As Object) As Boolean

Parameters

value
Object

The data field value to validate.

Returns

true if the specified value is in the range; otherwise, false.

Exceptions

The data field value was outside the allowed range.

The current attribute is ill-formed.

Applies to