HtmlHelperExtensions.DisplayText Method (HtmlHelper, String)
Namespace: Microsoft.Web.Mvc.Html
Assembly: Microsoft.Web.Mvc (in Microsoft.Web.Mvc.dll)
Syntax
public static MvcHtmlString DisplayText(
this HtmlHelper htmlHelper,
string name
)
public:
[ExtensionAttribute]
static MvcHtmlString^ DisplayText(
HtmlHelper^ htmlHelper,
String^ name
)
static member DisplayText :
htmlHelper:HtmlHelper *
name:string -> MvcHtmlString
<ExtensionAttribute>
Public Shared Function DisplayText (
htmlHelper As HtmlHelper,
name As String
) As MvcHtmlString
Parameters
- htmlHelper
Type: System.Web.Mvc.HtmlHelper
- name
Type: System.String
Return Value
Type: System.Web.Mvc.MvcHtmlString
See Also
HtmlHelperExtensions Class
Microsoft.Web.Mvc.Html Namespace
Return to top