Share via


DefaultModelBindingMessageProvider.ValueMustNotBeNullAccessor Property

Definition

Error message the model binding system adds when a null value is bound to a non-Nullable property.

public:
 virtual property Func<System::String ^, System::String ^> ^ ValueMustNotBeNullAccessor { Func<System::String ^, System::String ^> ^ get(); };
public override Func<string,string> ValueMustNotBeNullAccessor { get; }
member this.ValueMustNotBeNullAccessor : Func<string, string>
Public Overrides ReadOnly Property ValueMustNotBeNullAccessor As Func(Of String, String)

Property Value

Default String is "The value '{0}' is invalid.".

Applies to