共用方式為


DefaultModelBindingMessageProvider.MissingBindRequiredValueAccessor 屬性

定義

當具有相關聯 BindRequiredAttribute 之屬性未系結時,模型系結系統會加入錯誤訊息。

public:
 virtual property Func<System::String ^, System::String ^> ^ MissingBindRequiredValueAccessor { Func<System::String ^, System::String ^> ^ get(); };
public override Func<string,string> MissingBindRequiredValueAccessor { get; }
member this.MissingBindRequiredValueAccessor : Func<string, string>
Public Overrides ReadOnly Property MissingBindRequiredValueAccessor As Func(Of String, String)

屬性值

預設值 String 為 「未提供 ' {0} ' 參數或屬性的值。」

適用於