DefaultModelBindingMessageProvider.SetAttemptedValueIsInvalidAccessor 方法

定义

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))

参数

attemptedValueIsInvalidAccessor
Func<String,String,String>

要设置的值。

适用于