Freigeben über


DefaultModelBindingMessageProvider.SetValueMustBeANumberAccessor Methode

Definition

Legt die ValueMustBeANumberAccessor-Eigenschaft fest.

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

Parameter

valueMustBeANumberAccessor
Func<String,String>

Der festzulegende Wert.

Gilt für: