Share via


DefaultModelBindingMessageProvider.SetValueMustBeANumberAccessor Method

Definition

Sets the ValueMustBeANumberAccessor property.

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

Parameters

valueMustBeANumberAccessor
Func<String,String>

The value to set.

Applies to