編輯

共用方式為


HiddenField.Render(HtmlTextWriter) Method

Definition

Renders the Web server control content to the client's browser using the specified HtmlTextWriter object.

protected public:
 override void Render(System::Web::UI::HtmlTextWriter ^ writer);
protected internal override void Render (System.Web.UI.HtmlTextWriter writer);
override this.Render : System.Web.UI.HtmlTextWriter -> unit
Protected Friend Overrides Sub Render (writer As HtmlTextWriter)

Parameters

writer
HtmlTextWriter

The HtmlTextWriter object used to render the server control content on the client's browser.

Remarks

The Render method is used to render the server control content to the client's browser using the specified System.Web.UI.HtmlTextWriter object.

Notes to Inheritors

When extending the HiddenField control, you can override this method to render custom content for the control.

Applies to

See also