共用方式為


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>

要設定的值。

適用於