XhtmlMobileTextWriter.WriteBreak 方法

定义

如果 SuppressNewLinefalse,则将一个添加新行的标记元素写入输出流。If SuppressNewLine is false, writes a markup element that adds a new line to the output stream. 此 API 已废弃不用。This API is obsolete. 若要了解如何开发 ASP.NET 移动应用,请参阅 Mobile Apps & Sites with ASP.NET (ASP.NET 移动应用和网站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

public:
 virtual void WriteBreak();
public virtual void WriteBreak ();
override this.WriteBreak : unit -> unit
Public Overridable Sub WriteBreak ()

注解

根据的值 UseDivsForBreaks ,新行标记可以是 <br/> 标记或 </div><div> 结构。Depending on the value of UseDivsForBreaks, the new line markup could be either a <br/> tag or a </div><div> structure.

此方法主要由自定义移动页和控件适配器的开发人员使用。This method is used primarily by developers of custom mobile page and control adapters.

适用于

另请参阅