Dela via


DefaultModelBindingMessageProvider.NonPropertyAttemptedValueIsInvalidAccessor Property

Definition

Error message the model binding system adds when Exception is of type FormatException or OverflowException, value is known, and error is associated with a collection element or parameter.

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

Property Value

Default String is "The value '{0}' is not valid.".

Applies to