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