DefaultModelBindingMessageProvider.SetMissingBindRequiredValueAccessor 方法

定义

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

参数

missingBindRequiredValueAccessor
Func<String,String>

要设置的值。

适用于