HtmlMobileTextWriter.ExitFormat 方法

定义

删除当前样式,将上一个样式还原为当前格式样式,并根据需要调用 WriteEndTag(String) 该方法以关闭当前元素。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

重载

名称 说明
ExitFormat(Style)

结束使用指定样式中的字符格式的块。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

ExitFormat(Style, Boolean)

结束使用指定样式中的字符格式的块。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

ExitFormat(Style)

结束使用指定样式中的字符格式的块。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 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)

参数

style
Style

样式引用。

适用于

ExitFormat(Style, Boolean)

结束使用指定样式中的字符格式的块。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 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)

参数

style
Style

样式引用。

breakAfter
Boolean

true如果是breakAfter,则会在结束样式元素之后添加一个分隔符。

适用于