Edit

Share via


HtmlFormAdapter.RenderExtraHeadElements(HtmlMobileTextWriter) Method

Definition

Renders any additional content within the <head> and </ head> tags of the HTML page. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

protected:
 virtual bool RenderExtraHeadElements(System::Web::UI::MobileControls::Adapters::HtmlMobileTextWriter ^ writer);
protected virtual bool RenderExtraHeadElements (System.Web.UI.MobileControls.Adapters.HtmlMobileTextWriter writer);
abstract member RenderExtraHeadElements : System.Web.UI.MobileControls.Adapters.HtmlMobileTextWriter -> bool
override this.RenderExtraHeadElements : System.Web.UI.MobileControls.Adapters.HtmlMobileTextWriter -> bool
Protected Overridable Function RenderExtraHeadElements (writer As HtmlMobileTextWriter) As Boolean

Parameters

writer
HtmlMobileTextWriter

The specified text writer.

Returns

true if any extra head elements were written; otherwise, false.

Remarks

This method is called twice. On the first call, the writer parameter is null, and the method returns true or false, indicating whether or not it has additional <head> elements to write. On the second call, the method writes the content by using the provided writer.

Applies to

See also