ModelBindingMessageProvider.MissingBindRequiredValueAccessor 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
當具有相關聯 BindRequiredAttribute
之屬性未系結時,模型系結系統會加入錯誤訊息。
public:
property Func<System::String ^, System::String ^> ^ MissingBindRequiredValueAccessor { Func<System::String ^, System::String ^> ^ get(); void set(Func<System::String ^, System::String ^> ^ value); };
public:
virtual property Func<System::String ^, System::String ^> ^ MissingBindRequiredValueAccessor { Func<System::String ^, System::String ^> ^ get(); };
public Func<string,string> MissingBindRequiredValueAccessor { get; set; }
public virtual Func<string,string> MissingBindRequiredValueAccessor { get; }
member this.MissingBindRequiredValueAccessor : Func<string, string> with get, set
member this.MissingBindRequiredValueAccessor : Func<string, string>
Public Property MissingBindRequiredValueAccessor As Func(Of String, String)
Public Overridable ReadOnly Property MissingBindRequiredValueAccessor As Func(Of String, String)
屬性值
預設值 String 為 「未提供 ' {0} ' 參數或屬性的值。」