DefaultModelBindingMessageProvider.SetUnknownValueIsInvalidAccessor Method

Definition

Sets the UnknownValueIsInvalidAccessor property.

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

Parameters

unknownValueIsInvalidAccessor
Func<String,String>

The value to set.

Applies to