HtmlMobileTextWriter.ExitFormat Method

Definition

Removes the current style, restores the previous style as the current formatting style, and optionally calls the WriteEndTag(String) method to close the current element. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

Overloads

ExitFormat(Style)

Ends a block that has been using the character formatting from a specified style. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

ExitFormat(Style, Boolean)

Ends a block that has been using the character formatting from a specified style. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

ExitFormat(Style)

Ends a block that has been using the character formatting from a specified style. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

public:
 override void ExitFormat(System::Web::UI::MobileControls::Style ^ style);
public override void ExitFormat (System.Web.UI.MobileControls.Style style);
override this.ExitFormat : System.Web.UI.MobileControls.Style -> unit
Public Overrides Sub ExitFormat (style As Style)

Parameters

style
Style

The style reference.

Applies to

ExitFormat(Style, Boolean)

Ends a block that has been using the character formatting from a specified style. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

public:
 override void ExitFormat(System::Web::UI::MobileControls::Style ^ style, bool breakAfter);
public override void ExitFormat (System.Web.UI.MobileControls.Style style, bool breakAfter);
override this.ExitFormat : System.Web.UI.MobileControls.Style * bool -> unit
Public Overrides Sub ExitFormat (style As Style, breakAfter As Boolean)

Parameters

style
Style

The style reference.

breakAfter
Boolean

If breakAfter is true, a break is added after the closing style element.

Applies to