ValidationException.Value Property

Definition

Gets the value of the object that causes the ValidationAttribute class to trigger this exception.

public:
 property System::Object ^ Value { System::Object ^ get(); };
public object Value { get; }
public object? Value { get; }
member this.Value : obj
Public ReadOnly Property Value As Object

Property Value

The value of the object that caused the ValidationAttribute class to trigger the validation error.

Applies to