Dela via


DefaultModelBindingMessageProvider.ValueIsInvalidAccessor Property

Definition

Fallback error message HTML and tag helpers display when a property is invalid but the ModelErrors have nullErrorMessages.

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

Property Value

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

Applies to