IHtmlGenerator.GenerateValidationSummary Metodo

Definizione

Genera un elemento div> che contiene un <elenco di errori di convalida.

C#
public Microsoft.AspNetCore.Mvc.Rendering.TagBuilder GenerateValidationSummary (Microsoft.AspNetCore.Mvc.Rendering.ViewContext viewContext, bool excludePropertyErrors, string message, string headerTag, object htmlAttributes);

Parametri

viewContext
ViewContext
excludePropertyErrors
Boolean
message
String
headerTag
String
htmlAttributes
Object

Oggetto Object contenente i parametri per una route. I parametri vengono recuperati tramite reflection esaminando le proprietà dell'oggetto Object. Questa Object operazione viene in genere creata usando Object la sintassi dell'inizializzatore. In alternativa, un'istanza IDictionary<TKey,TValue> contenente i parametri di route.

Restituisce

Si applica a

Prodotto Versioni
ASP.NET Core 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0