TextAreaExtensions.TextArea Method (HtmlHelper, String, String)
Visual Studio 2010
Returns the specified textarea element by using the specified HTML helper, the name of the form field, and the text content.
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
'Declaration <ExtensionAttribute> _ Public Shared Function TextArea ( _ htmlHelper As HtmlHelper, _ name As String, _ value As String _ ) As MvcHtmlString
Parameters
- htmlHelper
- Type: System.Web.Mvc.HtmlHelper
The HTML helper instance that this method extends.
- name
- Type: System.String
The name of the form field to return.
- value
- Type: System.String
The text content.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type HtmlHelper. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).Community Additions
ADD
Show: