共用方式為


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>

要設定的值。

適用於