Freigeben über


DefaultModelBindingMessageProvider.SetNonPropertyAttemptedValueIsInvalidAccessor Methode

Definition

Legt die NonPropertyAttemptedValueIsInvalidAccessor-Eigenschaft fest.

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))

Parameter

nonPropertyAttemptedValueIsInvalidAccessor
Func<String,String>

Der festzulegende Wert.

Gilt für: