Dela via


DefaultModelBindingMessageProvider.SetValueIsInvalidAccessor Method

Definition

Sets the ValueIsInvalidAccessor property.

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

Parameters

valueIsInvalidAccessor
Func<String,String>

The value to set.

Applies to