Udostępnij za pośrednictwem


EditorExtensions.EditorForModel Method

Include Protected Members
Include Inherited Members

Returns an HTML input element for each property in the model.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public methodStatic member EditorForModel(HtmlHelper) Returns an HTML input element for each property in the model.
Public methodStatic member EditorForModel(HtmlHelper, Object) Returns an HTML input element for each property in the model, using additional view data.
Public methodStatic member EditorForModel(HtmlHelper, String) Returns an HTML input element for each property in the model, using the specified template.
Public methodStatic member EditorForModel(HtmlHelper, String, Object) Returns an HTML input element for each property in the model, using the specified template and additional view data.
Public methodStatic member EditorForModel(HtmlHelper, String, String) Returns an HTML input element for each property in the model, using the specified template name and HTML field name.
Public methodStatic member EditorForModel(HtmlHelper, String, String, Object) Returns an HTML input element for each property in the model, using the template name, HTML field name, and additional view data.

Top

See Also

Reference

EditorExtensions Class

System.Web.Mvc.Html Namespace