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
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.