ValidationMessage<TValue>.For 属性

定义

指定应显示验证消息的字段。

public:
 property System::Linq::Expressions::Expression<Func<TValue> ^> ^ For { System::Linq::Expressions::Expression<Func<TValue> ^> ^ get(); void set(System::Linq::Expressions::Expression<Func<TValue> ^> ^ value); };
[Microsoft.AspNetCore.Components.Parameter]
public System.Linq.Expressions.Expression<Func<TValue>> For { get; set; }
[Microsoft.AspNetCore.Components.Parameter]
public System.Linq.Expressions.Expression<Func<TValue>>? For { get; set; }
[<Microsoft.AspNetCore.Components.Parameter>]
member this.For : System.Linq.Expressions.Expression<Func<'Value>> with get, set
Public Property For As Expression(Of Func(Of TValue))

属性值

Expression<Func<TValue>>
属性

适用于