WmlMobileTextWriter.WmlFormat 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 WmlMobileTextWriter.WmlFormat 的新实例。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅
重载
| 名称 | 说明 |
|---|---|
| WmlMobileTextWriter.WmlFormat(Style, WmlMobileTextWriter+WmlFormat) |
初始化 WmlMobileTextWriter.WmlFormat 的新实例。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 |
| WmlMobileTextWriter.WmlFormat(Boolean, Boolean, FontSize) |
初始化 WmlMobileTextWriter.WmlFormat 的新实例。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 |
WmlMobileTextWriter.WmlFormat(Style, WmlMobileTextWriter+WmlFormat)
初始化 WmlMobileTextWriter.WmlFormat 的新实例。 此 API 已过时。 有关如何开发 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
要从中创建新格式化程序的格式。
注解
此构造函数首先查找给定样式的值 BoldItalic 和 Size。 如果任一对应的属性 style 是 NotSet,此构造函数将查找参数的 currentFormat 相应属性。
另请参阅
适用于
WmlMobileTextWriter.WmlFormat(Boolean, Boolean, FontSize)
初始化 WmlMobileTextWriter.WmlFormat 的新实例。 此 API 已过时。 有关如何开发 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
要写入的字号。