HtmlHelper.GenerateValidationMessage 메서드

정의

유효성 검사 메시지를 생성합니다.

protected:
 virtual Microsoft::AspNetCore::Html::IHtmlContent ^ GenerateValidationMessage(Microsoft::AspNetCore::Mvc::ViewFeatures::ModelExplorer ^ modelExplorer, System::String ^ expression, System::String ^ message, System::String ^ tag, System::Object ^ htmlAttributes);
protected virtual Microsoft.AspNetCore.Html.IHtmlContent GenerateValidationMessage (Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer modelExplorer, string expression, string message, string tag, object htmlAttributes);
abstract member GenerateValidationMessage : Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer * string * string * string * obj -> Microsoft.AspNetCore.Html.IHtmlContent
override this.GenerateValidationMessage : Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer * string * string * string * obj -> Microsoft.AspNetCore.Html.IHtmlContent
Protected Overridable Function GenerateValidationMessage (modelExplorer As ModelExplorer, expression As String, message As String, tag As String, htmlAttributes As Object) As IHtmlContent

매개 변수

expression
String

식입니다.

message
String

유효성 검사 메시지입니다.

tag
String

태그.

htmlAttributes
Object

Object 요소에 대한 HTML 특성이 들어 있는 입니다. IDictionary<TKey,TValue> 또는 HTML 특성을 포함하는 instance.

반환

IHtmlContent

적용 대상