ValidationExtensions.ValidationSummary Método

Definição

Sobrecargas

ValidationSummary(HtmlHelper, String, Object, String)
ValidationSummary(HtmlHelper, String, IDictionary<String,Object>, String)
ValidationSummary(HtmlHelper, Boolean, String, String)
ValidationSummary(HtmlHelper, Boolean, String, Object)

Retorna uma lista não ordenada (elemento ul) de mensagens de validação que estão no ModelStateDictionary objeto e, opcionalmente, exibe apenas erros no nível do modelo.

ValidationSummary(HtmlHelper, Boolean, String, IDictionary<String,Object>)

Retorna uma lista não ordenada (elemento ul) de mensagens de validação que estão no ModelStateDictionary objeto e, opcionalmente, exibe apenas erros no nível do modelo.

ValidationSummary(HtmlHelper, String, String)
ValidationSummary(HtmlHelper, String, Object)

Retorna uma lista não ordenada (elemento ul) de mensagens de validação no ModelStateDictionary objeto .

ValidationSummary(HtmlHelper, String, IDictionary<String,Object>)

Retorna uma lista não ordenada (elemento ul) de mensagens de validação que estão no ModelStateDictionary objeto .

ValidationSummary(HtmlHelper, Boolean, String)

Retorna uma lista não ordenada (elemento ul) de mensagens de validação que estão no ModelStateDictionary objeto e, opcionalmente, exibe apenas erros no nível do modelo.

ValidationSummary(HtmlHelper, String)

Retorna uma lista não ordenada (elemento ul) de mensagens de validação que estão no ModelStateDictionary objeto .

ValidationSummary(HtmlHelper, Boolean)

Retorna uma lista não ordenada (elemento ul) de mensagens de validação que estão no ModelStateDictionary objeto e, opcionalmente, exibe apenas erros no nível do modelo.

ValidationSummary(HtmlHelper)

Retorna uma lista não ordenada (elemento ul) de mensagens de validação que estão no ModelStateDictionary objeto .

ValidationSummary(HtmlHelper, Boolean, String, IDictionary<String,Object>, String)
ValidationSummary(HtmlHelper, Boolean, String, Object, String)

ValidationSummary(HtmlHelper, String, Object, String)

public static System.Web.Mvc.MvcHtmlString ValidationSummary (this System.Web.Mvc.HtmlHelper htmlHelper, string message, object htmlAttributes, string headingTag);
static member ValidationSummary : System.Web.Mvc.HtmlHelper * string * obj * string -> System.Web.Mvc.MvcHtmlString
<Extension()>
Public Function ValidationSummary (htmlHelper As HtmlHelper, message As String, htmlAttributes As Object, headingTag As String) As MvcHtmlString

Parâmetros

htmlHelper
HtmlHelper
message
String
htmlAttributes
Object
headingTag
String

Retornos

Aplica-se a

ValidationSummary(HtmlHelper, String, IDictionary<String,Object>, String)

public static System.Web.Mvc.MvcHtmlString ValidationSummary (this System.Web.Mvc.HtmlHelper htmlHelper, string message, System.Collections.Generic.IDictionary<string,object> htmlAttributes, string headingTag);
static member ValidationSummary : System.Web.Mvc.HtmlHelper * string * System.Collections.Generic.IDictionary<string, obj> * string -> System.Web.Mvc.MvcHtmlString
<Extension()>
Public Function ValidationSummary (htmlHelper As HtmlHelper, message As String, htmlAttributes As IDictionary(Of String, Object), headingTag As String) As MvcHtmlString

Parâmetros

htmlHelper
HtmlHelper
message
String
htmlAttributes
IDictionary<String,Object>
headingTag
String

Retornos

Aplica-se a

ValidationSummary(HtmlHelper, Boolean, String, String)

public static System.Web.Mvc.MvcHtmlString ValidationSummary (this System.Web.Mvc.HtmlHelper htmlHelper, bool excludePropertyErrors, string message, string headingTag);
static member ValidationSummary : System.Web.Mvc.HtmlHelper * bool * string * string -> System.Web.Mvc.MvcHtmlString
<Extension()>
Public Function ValidationSummary (htmlHelper As HtmlHelper, excludePropertyErrors As Boolean, message As String, headingTag As String) As MvcHtmlString

Parâmetros

htmlHelper
HtmlHelper
excludePropertyErrors
Boolean
message
String
headingTag
String

Retornos

Aplica-se a

ValidationSummary(HtmlHelper, Boolean, String, Object)

Retorna uma lista não ordenada (elemento ul) de mensagens de validação que estão no ModelStateDictionary objeto e, opcionalmente, exibe apenas erros no nível do modelo.

public static System.Web.Mvc.MvcHtmlString ValidationSummary (this System.Web.Mvc.HtmlHelper htmlHelper, bool excludePropertyErrors, string message, object htmlAttributes);
static member ValidationSummary : System.Web.Mvc.HtmlHelper * bool * string * obj -> System.Web.Mvc.MvcHtmlString
<Extension()>
Public Function ValidationSummary (htmlHelper As HtmlHelper, excludePropertyErrors As Boolean, message As String, htmlAttributes As Object) As MvcHtmlString

Parâmetros

htmlHelper
HtmlHelper

A instância auxiliar HTML que este método estende.

excludePropertyErrors
Boolean

true para que o resumo exiba somente erros no nível do modelo ou false para que o resumo exiba todos os erros.

message
String

A mensagem a ser exibida com o resumo de validação.

htmlAttributes
Object

Um objeto que contém os atributos HTML para o elemento.

Retornos

Uma cadeia de caracteres que contém uma lista não ordenada (elemento ul) de mensagens de validação.

Aplica-se a

ValidationSummary(HtmlHelper, Boolean, String, IDictionary<String,Object>)

Retorna uma lista não ordenada (elemento ul) de mensagens de validação que estão no ModelStateDictionary objeto e, opcionalmente, exibe apenas erros no nível do modelo.

public static System.Web.Mvc.MvcHtmlString ValidationSummary (this System.Web.Mvc.HtmlHelper htmlHelper, bool excludePropertyErrors, string message, System.Collections.Generic.IDictionary<string,object> htmlAttributes);
static member ValidationSummary : System.Web.Mvc.HtmlHelper * bool * string * System.Collections.Generic.IDictionary<string, obj> -> System.Web.Mvc.MvcHtmlString
<Extension()>
Public Function ValidationSummary (htmlHelper As HtmlHelper, excludePropertyErrors As Boolean, message As String, htmlAttributes As IDictionary(Of String, Object)) As MvcHtmlString

Parâmetros

htmlHelper
HtmlHelper

A instância auxiliar HTML que este método estende.

excludePropertyErrors
Boolean

true para que o resumo exiba somente erros no nível do modelo ou false para que o resumo exiba todos os erros.

message
String

A mensagem a ser exibida com o resumo de validação.

htmlAttributes
IDictionary<String,Object>

Um dicionário que contém os atributos HTML para o elemento.

Retornos

Uma cadeia de caracteres que contém uma lista não ordenada (elemento ul) de mensagens de validação.

Aplica-se a

ValidationSummary(HtmlHelper, String, String)

public static System.Web.Mvc.MvcHtmlString ValidationSummary (this System.Web.Mvc.HtmlHelper htmlHelper, string message, string headingTag);
static member ValidationSummary : System.Web.Mvc.HtmlHelper * string * string -> System.Web.Mvc.MvcHtmlString
<Extension()>
Public Function ValidationSummary (htmlHelper As HtmlHelper, message As String, headingTag As String) As MvcHtmlString

Parâmetros

htmlHelper
HtmlHelper
message
String
headingTag
String

Retornos

Aplica-se a

ValidationSummary(HtmlHelper, String, Object)

Retorna uma lista não ordenada (elemento ul) de mensagens de validação no ModelStateDictionary objeto .

public static System.Web.Mvc.MvcHtmlString ValidationSummary (this System.Web.Mvc.HtmlHelper htmlHelper, string message, object htmlAttributes);
static member ValidationSummary : System.Web.Mvc.HtmlHelper * string * obj -> System.Web.Mvc.MvcHtmlString
<Extension()>
Public Function ValidationSummary (htmlHelper As HtmlHelper, message As String, htmlAttributes As Object) As MvcHtmlString

Parâmetros

htmlHelper
HtmlHelper

A instância auxiliar HTML que este método estende.

message
String

A mensagem a ser exibida se o campo especificado contiver um erro.

htmlAttributes
Object

Um objeto que contém os atributos HTML para o elemento.

Retornos

Uma cadeia de caracteres que contém uma lista não ordenada (elemento ul) de mensagens de validação.

Aplica-se a

ValidationSummary(HtmlHelper, String, IDictionary<String,Object>)

Retorna uma lista não ordenada (elemento ul) de mensagens de validação que estão no ModelStateDictionary objeto .

public static System.Web.Mvc.MvcHtmlString ValidationSummary (this System.Web.Mvc.HtmlHelper htmlHelper, string message, System.Collections.Generic.IDictionary<string,object> htmlAttributes);
static member ValidationSummary : System.Web.Mvc.HtmlHelper * string * System.Collections.Generic.IDictionary<string, obj> -> System.Web.Mvc.MvcHtmlString
<Extension()>
Public Function ValidationSummary (htmlHelper As HtmlHelper, message As String, htmlAttributes As IDictionary(Of String, Object)) As MvcHtmlString

Parâmetros

htmlHelper
HtmlHelper

A instância auxiliar HTML que este método estende.

message
String

A mensagem a ser exibida se o campo especificado contiver um erro.

htmlAttributes
IDictionary<String,Object>

Um dicionário que contém os atributos HTML para o elemento.

Retornos

Uma cadeia de caracteres que contém uma lista não ordenada (elemento ul) de mensagens de validação.

Aplica-se a

ValidationSummary(HtmlHelper, Boolean, String)

Retorna uma lista não ordenada (elemento ul) de mensagens de validação que estão no ModelStateDictionary objeto e, opcionalmente, exibe apenas erros no nível do modelo.

public static System.Web.Mvc.MvcHtmlString ValidationSummary (this System.Web.Mvc.HtmlHelper htmlHelper, bool excludePropertyErrors, string message);
static member ValidationSummary : System.Web.Mvc.HtmlHelper * bool * string -> System.Web.Mvc.MvcHtmlString
<Extension()>
Public Function ValidationSummary (htmlHelper As HtmlHelper, excludePropertyErrors As Boolean, message As String) As MvcHtmlString

Parâmetros

htmlHelper
HtmlHelper

A instância auxiliar HTML que este método estende.

excludePropertyErrors
Boolean

true para que o resumo exiba somente erros no nível do modelo ou false para que o resumo exiba todos os erros.

message
String

A mensagem a ser exibida com o resumo de validação.

Retornos

Uma cadeia de caracteres que contém uma lista não ordenada (elemento ul) de mensagens de validação.

Aplica-se a

ValidationSummary(HtmlHelper, String)

Retorna uma lista não ordenada (elemento ul) de mensagens de validação que estão no ModelStateDictionary objeto .

public static System.Web.Mvc.MvcHtmlString ValidationSummary (this System.Web.Mvc.HtmlHelper htmlHelper, string message);
static member ValidationSummary : System.Web.Mvc.HtmlHelper * string -> System.Web.Mvc.MvcHtmlString
<Extension()>
Public Function ValidationSummary (htmlHelper As HtmlHelper, message As String) As MvcHtmlString

Parâmetros

htmlHelper
HtmlHelper

A instância auxiliar do HMTL que esse método estende.

message
String

A mensagem a ser exibida se o campo especificado contiver um erro.

Retornos

Uma cadeia de caracteres que contém uma lista não ordenada (elemento ul) de mensagens de validação.

Aplica-se a

ValidationSummary(HtmlHelper, Boolean)

Retorna uma lista não ordenada (elemento ul) de mensagens de validação que estão no ModelStateDictionary objeto e, opcionalmente, exibe apenas erros no nível do modelo.

public static System.Web.Mvc.MvcHtmlString ValidationSummary (this System.Web.Mvc.HtmlHelper htmlHelper, bool excludePropertyErrors);
static member ValidationSummary : System.Web.Mvc.HtmlHelper * bool -> System.Web.Mvc.MvcHtmlString
<Extension()>
Public Function ValidationSummary (htmlHelper As HtmlHelper, excludePropertyErrors As Boolean) As MvcHtmlString

Parâmetros

htmlHelper
HtmlHelper

A instância auxiliar HTML que este método estende.

excludePropertyErrors
Boolean

true para que o resumo exiba somente erros no nível do modelo ou false para que o resumo exiba todos os erros.

Retornos

Uma cadeia de caracteres que contém uma lista não ordenada (elemento ul) de mensagens de validação.

Aplica-se a

ValidationSummary(HtmlHelper)

Retorna uma lista não ordenada (elemento ul) de mensagens de validação que estão no ModelStateDictionary objeto .

public static System.Web.Mvc.MvcHtmlString ValidationSummary (this System.Web.Mvc.HtmlHelper htmlHelper);
static member ValidationSummary : System.Web.Mvc.HtmlHelper -> System.Web.Mvc.MvcHtmlString
<Extension()>
Public Function ValidationSummary (htmlHelper As HtmlHelper) As MvcHtmlString

Parâmetros

htmlHelper
HtmlHelper

A instância auxiliar HTML que este método estende.

Retornos

Uma cadeia de caracteres que contém uma lista não ordenada (elemento ul) de mensagens de validação.

Aplica-se a

ValidationSummary(HtmlHelper, Boolean, String, IDictionary<String,Object>, String)

public static System.Web.Mvc.MvcHtmlString ValidationSummary (this System.Web.Mvc.HtmlHelper htmlHelper, bool excludePropertyErrors, string message, System.Collections.Generic.IDictionary<string,object> htmlAttributes, string headingTag);
static member ValidationSummary : System.Web.Mvc.HtmlHelper * bool * string * System.Collections.Generic.IDictionary<string, obj> * string -> System.Web.Mvc.MvcHtmlString
<Extension()>
Public Function ValidationSummary (htmlHelper As HtmlHelper, excludePropertyErrors As Boolean, message As String, htmlAttributes As IDictionary(Of String, Object), headingTag As String) As MvcHtmlString

Parâmetros

htmlHelper
HtmlHelper
excludePropertyErrors
Boolean
message
String
htmlAttributes
IDictionary<String,Object>
headingTag
String

Retornos

Aplica-se a

ValidationSummary(HtmlHelper, Boolean, String, Object, String)

public static System.Web.Mvc.MvcHtmlString ValidationSummary (this System.Web.Mvc.HtmlHelper htmlHelper, bool excludePropertyErrors, string message, object htmlAttributes, string headingTag);
static member ValidationSummary : System.Web.Mvc.HtmlHelper * bool * string * obj * string -> System.Web.Mvc.MvcHtmlString
<Extension()>
Public Function ValidationSummary (htmlHelper As HtmlHelper, excludePropertyErrors As Boolean, message As String, htmlAttributes As Object, headingTag As String) As MvcHtmlString

Parâmetros

htmlHelper
HtmlHelper
excludePropertyErrors
Boolean
message
String
htmlAttributes
Object
headingTag
String

Retornos

Aplica-se a