共用方式為


DefaultModelBindingMessageProvider.SetNonPropertyAttemptedValueIsInvalidAccessor 方法

定義

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

參數

nonPropertyAttemptedValueIsInvalidAccessor
Func<String,String>

要設定的值。

適用於