共用方式為


WmlMobileTextWriter.OpenCharacterFormat 方法

定義

開啟指定格式的字元格式標記。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 具有 ASP.NET 的Mobile Apps & Sites

protected:
 virtual void OpenCharacterFormat(System::Web::UI::MobileControls::Adapters::WmlMobileTextWriter::WmlFormat ^ format, bool writeBold, bool writeItalic, bool writeSize);
protected virtual void OpenCharacterFormat (System.Web.UI.MobileControls.Adapters.WmlMobileTextWriter.WmlFormat format, bool writeBold, bool writeItalic, bool writeSize);
abstract member OpenCharacterFormat : System.Web.UI.MobileControls.Adapters.WmlMobileTextWriter.WmlFormat * bool * bool * bool -> unit
override this.OpenCharacterFormat : System.Web.UI.MobileControls.Adapters.WmlMobileTextWriter.WmlFormat * bool * bool * bool -> unit
Protected Overridable Sub OpenCharacterFormat (format As WmlMobileTextWriter.WmlFormat, writeBold As Boolean, writeItalic As Boolean, writeSize As Boolean)

參數

format
WmlMobileTextWriter.WmlFormat

列舉值,表示要在寫入時使用的 WML 格式。

writeBold
Boolean

是否開啟粗體字元格式。

writeItalic
Boolean

是否開啟斜體字元格式。

writeSize
Boolean

是否開啟字元大小格式。

備註

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

適用於

另請參閱