DefaultModelBindingMessageProvider.SetNonPropertyValueMustBeANumberAccessor 方法

定义

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

参数

nonPropertyValueMustBeANumberAccessor
Func<String>

要设置的值。

适用于