ModelBindingMessageProvider.ValueIsInvalidAccessor Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Fallback error message HTML and tag helpers display when a property is invalid but the
ModelErrors have null
ErrorMessages.
public:
property Func<System::String ^, System::String ^> ^ ValueIsInvalidAccessor { Func<System::String ^, System::String ^> ^ get(); void set(Func<System::String ^, System::String ^> ^ value); };
public:
virtual property Func<System::String ^, System::String ^> ^ ValueIsInvalidAccessor { Func<System::String ^, System::String ^> ^ get(); };
public Func<string,string> ValueIsInvalidAccessor { get; set; }
public virtual Func<string,string> ValueIsInvalidAccessor { get; }
member this.ValueIsInvalidAccessor : Func<string, string> with get, set
member this.ValueIsInvalidAccessor : Func<string, string>
Public Property ValueIsInvalidAccessor As Func(Of String, String)
Public Overridable ReadOnly Property ValueIsInvalidAccessor As Func(Of String, String)
Property Value
Default String is "The value '{0}' is invalid.".
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for