語言

WmlMobileTextWriter.WmlFormat 建構函式

定義

初始化 WmlMobileTextWriter.WmlFormat 的新執行個體。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

多載

名稱 Description
WmlMobileTextWriter.WmlFormat(Style, WmlMobileTextWriter+WmlFormat)

初始化 WmlMobileTextWriter.WmlFormat 的新執行個體。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

WmlMobileTextWriter.WmlFormat(Boolean, Boolean, FontSize)

初始化 WmlMobileTextWriter.WmlFormat 的新執行個體。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

WmlMobileTextWriter.WmlFormat(Style, WmlMobileTextWriter+WmlFormat)

初始化 WmlMobileTextWriter.WmlFormat 的新執行個體。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

public:
 WmlFormat(System::Web::UI::MobileControls::Style ^ style, System::Web::UI::MobileControls::Adapters::WmlMobileTextWriter::WmlFormat ^ currentFormat);
public WmlFormat(System.Web.UI.MobileControls.Style style, System.Web.UI.MobileControls.Adapters.WmlMobileTextWriter.WmlFormat currentFormat);
new System.Web.UI.MobileControls.Adapters.WmlMobileTextWriter.WmlFormat : System.Web.UI.MobileControls.Style * System.Web.UI.MobileControls.Adapters.WmlMobileTextWriter.WmlFormat -> System.Web.UI.MobileControls.Adapters.WmlMobileTextWriter.WmlFormat
Public Sub New (style As Style, currentFormat As WmlMobileTextWriter.WmlFormat)

參數

style
Style

用來建立新格式化器的風格。

currentFormat
WmlMobileTextWriter.WmlFormat

建立新格式化器的格式。

備註

此構造器首先參考給定風格,以取得 和 BoldItalicSize的值。 若 的 style 對應性質中任一為 , NotSet則該構造器會尋找參數的 currentFormat 相應性質。

另請參閱

適用於

WmlMobileTextWriter.WmlFormat(Boolean, Boolean, FontSize)

初始化 WmlMobileTextWriter.WmlFormat 的新執行個體。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

public:
 WmlFormat(bool bold, bool italic, System::Web::UI::MobileControls::FontSize size);
public WmlFormat(bool bold, bool italic, System.Web.UI.MobileControls.FontSize size);
new System.Web.UI.MobileControls.Adapters.WmlMobileTextWriter.WmlFormat : bool * bool * System.Web.UI.MobileControls.FontSize -> System.Web.UI.MobileControls.Adapters.WmlMobileTextWriter.WmlFormat
Public Sub New (bold As Boolean, italic As Boolean, size As FontSize)

參數

bold
Boolean

true將格式設為粗體;否則,。 false

italic
Boolean

true將格式設為斜體;否則,。 false

size
FontSize

書寫時使用的字體大小。

另請參閱

適用於