Bagikan melalui


HtmlHelper.GenerateValidationSummary(Boolean, String, Object, String) Metode

Definisi

Buat ringkasan validasi.

protected:
 virtual Microsoft::AspNetCore::Html::IHtmlContent ^ GenerateValidationSummary(bool excludePropertyErrors, System::String ^ message, System::Object ^ htmlAttributes, System::String ^ tag);
protected virtual Microsoft.AspNetCore.Html.IHtmlContent GenerateValidationSummary (bool excludePropertyErrors, string message, object htmlAttributes, string tag);
abstract member GenerateValidationSummary : bool * string * obj * string -> Microsoft.AspNetCore.Html.IHtmlContent
override this.GenerateValidationSummary : bool * string * obj * string -> Microsoft.AspNetCore.Html.IHtmlContent
Protected Overridable Function GenerateValidationSummary (excludePropertyErrors As Boolean, message As String, htmlAttributes As Object, tag As String) As IHtmlContent

Parameter

excludePropertyErrors
Boolean

Apakah akan mengecualikan kesalahan properti.

message
String

Pesan validasi.

htmlAttributes
Object

Yang Object berisi atribut HTML untuk elemen . Atau, instans yang IDictionary<TKey,TValue> berisi atribut HTML.

tag
String

Tag.

Mengembalikan

IHtmlContent.

Berlaku untuk