共用方式為


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>

要設定的值。

適用於