共用方式為


DefaultModelBindingMessageProvider.SetNonPropertyUnknownValueIsInvalidAccessor 方法

定義

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

參數

nonPropertyUnknownValueIsInvalidAccessor
Func<String>

要設定的值。

適用於