Bagikan melalui


ValidationSummaryTagHelper.ValidationSummary Properti

Definisi

Jika All atau ModelOnly, menambahkan ringkasan validasi. Jika tidak (None, default), pembantu tag ini tidak melakukan apa pun.

public:
 property Microsoft::AspNetCore::Mvc::Rendering::ValidationSummary ValidationSummary { Microsoft::AspNetCore::Mvc::Rendering::ValidationSummary get(); void set(Microsoft::AspNetCore::Mvc::Rendering::ValidationSummary value); };
[Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeName("asp-validation-summary")]
public Microsoft.AspNetCore.Mvc.Rendering.ValidationSummary ValidationSummary { get; set; }
[<Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeName("asp-validation-summary")>]
member this.ValidationSummary : Microsoft.AspNetCore.Mvc.Rendering.ValidationSummary with get, set
Public Property ValidationSummary As ValidationSummary

Nilai Properti

Atribut

Pengecualian

Dilemparkan jika setter dipanggil dengan nilai yang tidak ditentukan ValidationSummary misalnya (ValidationSummary)23.

Berlaku untuk