DefaultModelBindingMessageProvider.SetAttemptedValueIsInvalidAccessor Method

Definition

Sets the AttemptedValueIsInvalidAccessor property.

public:
 void SetAttemptedValueIsInvalidAccessor(Func<System::String ^, System::String ^, System::String ^> ^ attemptedValueIsInvalidAccessor);
public void SetAttemptedValueIsInvalidAccessor (Func<string,string,string> attemptedValueIsInvalidAccessor);
member this.SetAttemptedValueIsInvalidAccessor : Func<string, string, string> -> unit
Public Sub SetAttemptedValueIsInvalidAccessor (attemptedValueIsInvalidAccessor As Func(Of String, String, String))

Parameters

attemptedValueIsInvalidAccessor
Func<String,String,String>

The value to set.

Applies to