共用方式為


DefaultModelBindingMessageProvider.SetUnknownValueIsInvalidAccessor 方法

定義

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

參數

unknownValueIsInvalidAccessor
Func<String,String>

要設定的值。

適用於