Compartir a través de


DefaultHtmlGenerator.GenerateValidationSummary Método

Definición

Genera un <elemento div> que contiene una lista de errores de validación.

public:
 virtual Microsoft::AspNetCore::Mvc::Rendering::TagBuilder ^ GenerateValidationSummary(Microsoft::AspNetCore::Mvc::Rendering::ViewContext ^ viewContext, bool excludePropertyErrors, System::String ^ message, System::String ^ headerTag, System::Object ^ htmlAttributes);
public virtual Microsoft.AspNetCore.Mvc.Rendering.TagBuilder GenerateValidationSummary (Microsoft.AspNetCore.Mvc.Rendering.ViewContext viewContext, bool excludePropertyErrors, string message, string headerTag, object htmlAttributes);
abstract member GenerateValidationSummary : Microsoft.AspNetCore.Mvc.Rendering.ViewContext * bool * string * string * obj -> Microsoft.AspNetCore.Mvc.Rendering.TagBuilder
override this.GenerateValidationSummary : Microsoft.AspNetCore.Mvc.Rendering.ViewContext * bool * string * string * obj -> Microsoft.AspNetCore.Mvc.Rendering.TagBuilder
Public Overridable Function GenerateValidationSummary (viewContext As ViewContext, excludePropertyErrors As Boolean, message As String, headerTag As String, htmlAttributes As Object) As TagBuilder

Parámetros

viewContext
ViewContext
excludePropertyErrors
Boolean
message
String
headerTag
String
htmlAttributes
Object

que Object contiene los parámetros de una ruta. Los parámetros se recuperan mediante reflexión mediante el examen de las propiedades de Object. Normalmente se Object crea mediante la Object sintaxis del inicializador. Como alternativa, una IDictionary<TKey,TValue> instancia que contiene los parámetros de ruta.

Devoluciones

Implementaciones

Se aplica a