LiteralControl.Render(HtmlTextWriter) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Writes the content of the LiteralControl object to the ASP.NET page.
protected:
override void Render(System::Web::UI::HtmlTextWriter ^ output);
protected public:
override void Render(System::Web::UI::HtmlTextWriter ^ output);
protected override void Render (System.Web.UI.HtmlTextWriter output);
protected internal override void Render (System.Web.UI.HtmlTextWriter output);
override this.Render : System.Web.UI.HtmlTextWriter -> unit
Protected Overrides Sub Render (output As HtmlTextWriter)
Protected Friend Overrides Sub Render (output As HtmlTextWriter)
Parameters
- output
- HtmlTextWriter
An HtmlTextWriter that renders the content of the LiteralControl to the requesting client.
Remarks
When you create a custom server control and want to render specific HTML or text to a client, you can improve the performance of the control by passing the value of the Text property to the Control.Render method rather than calling the Render method.
Applies to
See also
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET