ChtmlCommandAdapter 类
定义
注意
The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see http://go.microsoft.com/fwlink/?LinkId=157231.
为 cHTML 适配器集提供命令适配器类。Provides the command adapter class for the cHTML adapter set. 若要了解如何开发 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 ref class ChtmlCommandAdapter : System::Web::UI::MobileControls::Adapters::HtmlCommandAdapter
public class ChtmlCommandAdapter : System.Web.UI.MobileControls.Adapters.HtmlCommandAdapter
[System.Obsolete("The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see http://go.microsoft.com/fwlink/?LinkId=157231.")]
public class ChtmlCommandAdapter : System.Web.UI.MobileControls.Adapters.HtmlCommandAdapter
type ChtmlCommandAdapter = class
inherit HtmlCommandAdapter
[<System.Obsolete("The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see http://go.microsoft.com/fwlink/?LinkId=157231.")>]
type ChtmlCommandAdapter = class
inherit HtmlCommandAdapter
Public Class ChtmlCommandAdapter
Inherits HtmlCommandAdapter
- 继承
- 属性
注解
此类需要窗体标记以提交窗体。This class requires a form tag for form submission. 由于 cHTML 设备不支持 JavaScript,因此它们无法呈现回发的链接。Since cHTML devices do not support JavaScript, they cannot render links for postbacks.
构造函数
| ChtmlCommandAdapter() |
创建 ChtmlCommandAdapter 类的实例。Creates an instance of the ChtmlCommandAdapter class. 此 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. |
属性
| Control |
返回一个对关联控件的强类型引用。Returns a strongly typed reference to the associated control. 此 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. (继承自 HtmlCommandAdapter) |
| Device |
返回与请求关联的设备功能对象。Returns the device capabilities object associated with the request. 此 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. (继承自 ControlAdapter) |
| FormAdapter |
检索关联的控件所在的窗体的窗体适配器。Retrieves the form adapter for the form on which the associated control resides. 此 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. (继承自 HtmlControlAdapter) |
| ItemWeight |
访问控件中某一项的大致权重。Accesses the approximate weight of a single item in the control. 此 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. (继承自 ControlAdapter) |
| Page |
返回与设备适配器关联的页。Returns the page associated with the device adapter. 此 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. (继承自 ControlAdapter) |
| PageAdapter |
返回移动页的页适配器。Returns the page adapter for the mobile page. 此 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. (继承自 HtmlControlAdapter) |
| RequiresFormTag |
获取一个值,该值指示适配器是否生成提交表单时需要 |
| SecondaryUIMode |
设置或返回该控件的辅助用户界面 (UI) 模式。Sets or returns the secondary user interface (UI) mode for the control. 此 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. (继承自 HtmlControlAdapter) |
| Style |
返回与设备适配器附加到的控件关联的样式对象。Returns the style object associated with the control to which the device adapter is attached. 此 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. (继承自 ControlAdapter) |
| VisibleWeight |
获取或设置该控件的大致权重(以字符为单位)。Gets or sets the approximate weight of the control, in characters. 此 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. (继承自 ControlAdapter) |
方法
| AddAccesskeyAttribute(HtmlMobileTextWriter) |
编写自定义属性访问键方法,前提是设备支持该属性。Writes a custom attribute access key method, provided that the device supports the attribute. 此 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. (继承自 HtmlControlAdapter) |
| AddAttributes(HtmlMobileTextWriter) |
写入特定于适配器的其他属性。Writes additional attributes that are specific to an adapter. 此 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. |
| AddJPhoneMultiMediaAttributes(HtmlMobileTextWriter) |
使用此方法为 J-Phone 多媒体特性编写自定义属性。Use this method to write custom attributes for J-Phone multimedia attributes. 此 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. (继承自 HtmlControlAdapter) |
| CalculateOptimumPageWeight(Int32) |
确定设备的最佳页权重。Determines the optimum page weight for the device. 此 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. (继承自 ControlAdapter) |
| CreateTemplatedUI(Boolean) |
由控件调用以创建模板化用户界面 (UI)。Called by a control to create a templated user interface (UI). 此 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. (继承自 ControlAdapter) |
| Equals(Object) |
确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object. (继承自 Object) |
| ExitSecondaryUIMode() |
退出该控件的任何辅助用户界面 (UI) 模式。Exits any secondary user interface (UI) mode for the control. 此 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. (继承自 HtmlControlAdapter) |
| GetDefaultLabel(Int32) |
返回标签控件的本地化默认字符串。Returns the localized default string for the label control. 此 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. (继承自 ControlAdapter) |
| GetHashCode() |
作为默认哈希函数。Serves as the default hash function. (继承自 Object) |
| GetType() |
获取当前实例的 Type。Gets the Type of the current instance. (继承自 Object) |
| HandlePostBackEvent(String) |
如果已处理事件,则返回 |
| LoadAdapterState(Object) |
加载视图状态。Loads the view state. 此 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. (继承自 HtmlControlAdapter) |
| LoadPostData(String, NameValueCollection, Object, Boolean) |
如果适配器处理 post 数据的加载,则返回 |
| MemberwiseClone() |
创建当前 Object 的浅表副本。Creates a shallow copy of the current Object. (继承自 Object) |
| OnInit(EventArgs) |
在初始化窗体或页面等对象后调用。Called after an object, such as a form or a page, is initialized. 此 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. (继承自 ControlAdapter) |
| OnLoad(EventArgs) |
加载与控件、页面或设备适配器相关的数据。Loads data that pertains to a control, a page, or a device adapter. 此 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. (继承自 ControlAdapter) |
| OnPreRender(EventArgs) |
由控件的 OnPreRender(EventArgs) 方法调用,以在呈现前执行适配器特定的工作。Called by the control's OnPreRender(EventArgs) method, to perform adapter-specific work prior to rendering. 此 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. (继承自 ControlAdapter) |
| OnUnload(EventArgs) |
卸载与控件、页或设备适配器有关的数据。Unloads data that pertains to a control, a page, or a device adapter. 此 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. (继承自 ControlAdapter) |
| Render(HtmlMobileTextWriter) |
由该控件的 Render 方法调用,用于执行呈现。Called by the control's Render method to perform rendering. 此 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. (继承自 HtmlCommandAdapter) |
| Render(HtmlTextWriter) |
由该控件的 Render 方法调用,用于执行呈现。Called by the control's Render method to perform rendering. 此 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. (继承自 HtmlControlAdapter) |
| RenderAsHiddenInputField(HtmlMobileTextWriter) |
呈现控件的隐藏字段的文本。Renders hidden field text for a control. 此 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. (继承自 HtmlControlAdapter) |
| RenderBeginLink(HtmlMobileTextWriter, String) |
呈现链接的开始标记。Renders the opening tag of a link. 此 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. (继承自 HtmlControlAdapter) |
| RenderChildren(HtmlTextWriter) |
呈现控件的子级。Renders children of the control. 此 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. (继承自 ControlAdapter) |
| RenderEndLink(HtmlMobileTextWriter) |
呈现链接的结束标记。Renders the end tag of a link. 此 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. (继承自 HtmlControlAdapter) |
| RenderPostBackEventAsAnchor(HtmlMobileTextWriter, String, String) |
将回发事件作为定位点呈现,使用由 |
| RenderPostBackEventAsAttribute(HtmlMobileTextWriter, String, String) |
将回发事件作为属性呈现。Renders a postback event as an attribute. 此 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. (继承自 HtmlControlAdapter) |
| RenderPostBackEventReference(HtmlMobileTextWriter, String) |
呈现回发事件引用。Renders a postback event reference. 此 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. (继承自 HtmlControlAdapter) |
| SaveAdapterState() |
当控件保存其私有视图状态时调用此方法。This method is called when the control saves its private view state. 此 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. (继承自 HtmlControlAdapter) |
| ToString() |
返回表示当前对象的字符串。Returns a string that represents the current object. (继承自 Object) |