Delen via


HtmlHelper.SetValidationMessageElement(String) Method

Definition

Set element name used to wrap the validation message generated by ValidationMessage(HtmlHelper, String) and other overloads.

public void SetValidationMessageElement (string elementName);
member this.SetValidationMessageElement : string -> unit
Public Sub SetValidationMessageElement (elementName As String)

Parameters

elementName
String

Applies to