Compartir a través de


HtmlHelper.GenerateValidationSummary(Boolean, String, Object, String) Método

Definición

Genere un resumen de validación.

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

Parámetros

excludePropertyErrors
Boolean

Si se van a excluir errores de propiedad.

message
String

Mensaje de validación.

htmlAttributes
Object

que Object contiene los atributos HTML del elemento . Como alternativa, una IDictionary<TKey,TValue> instancia que contiene los atributos HTML.

tag
String

La etiqueta.

Devoluciones

IHtmlContent.

Se aplica a