共用方式為


WmlMobileTextWriter.OpenParagraph 方法

定義

開啟具有指定配置的段落。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET

protected:
 virtual void OpenParagraph(System::Web::UI::MobileControls::Adapters::WmlMobileTextWriter::WmlLayout ^ layout, bool writeAlignment, bool writeWrapping);
protected virtual void OpenParagraph (System.Web.UI.MobileControls.Adapters.WmlMobileTextWriter.WmlLayout layout, bool writeAlignment, bool writeWrapping);
abstract member OpenParagraph : System.Web.UI.MobileControls.Adapters.WmlMobileTextWriter.WmlLayout * bool * bool -> unit
override this.OpenParagraph : System.Web.UI.MobileControls.Adapters.WmlMobileTextWriter.WmlLayout * bool * bool -> unit
Protected Overridable Sub OpenParagraph (layout As WmlMobileTextWriter.WmlLayout, writeAlignment As Boolean, writeWrapping As Boolean)

參數

layout
WmlMobileTextWriter.WmlLayout

列舉值,表示開始一個段落時使用的配置。

writeAlignment
Boolean

是否開啟段落對齊格式。

writeWrapping
Boolean

是否開啟段落換行格式。

備註

由寫入器內部呼叫,而且可由繼承類別覆寫。

適用於

另請參閱