DeviceElement 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
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.
将特定适配器映射到给定设备的特定移动控件。 无法继承此类。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅
public ref class DeviceElement sealed : System::Configuration::ConfigurationElement
public sealed class DeviceElement : System.Configuration.ConfigurationElement
[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 sealed class DeviceElement : System.Configuration.ConfigurationElement
type DeviceElement = class
inherit ConfigurationElement
[<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 DeviceElement = class
inherit ConfigurationElement
Public NotInheritable Class DeviceElement
Inherits ConfigurationElement
- 继承
- 属性
注解
此类表示 device XML 配置文件中的元素。
构造函数
| 名称 | 说明 |
|---|---|
| DeviceElement(String, String, Type, String, Type) |
已过时.
使用设置为继承的指定标识符、页面适配器和设备适配器初始化类的新实例 DeviceElement 。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 |
| DeviceElement(String, String) |
已过时.
使用要继承的指定标识符和设备适配器初始化类的新实例 DeviceElement 。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 |
| DeviceElement(String, Type, String, Type) |
已过时.
使用指定的标识符和页面适配器初始化类的新实例 DeviceElement 。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 |
属性
| 名称 | 说明 |
|---|---|
| Controls |
已过时.
获取此设备元素的控制元素的集合。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 |
| CurrentConfiguration |
已过时.
获取对顶级 Configuration 实例的引用,该实例表示当前 ConfigurationElement 实例所属的配置层次结构。 (继承自 ConfigurationElement) |
| ElementInformation |
已过时.
获取一个 ElementInformation 对象,该对象包含 ConfigurationElement 对象的不可自定义信息和功能。 (继承自 ConfigurationElement) |
| ElementProperty |
已过时.
获取表示 ConfigurationElementProperty 对象本身的 ConfigurationElement 对象。 (继承自 ConfigurationElement) |
| EvaluationContext |
已过时.
获取 ContextInformation 对象的 ConfigurationElement 对象。 (继承自 ConfigurationElement) |
| HasContext |
已过时.
获取一个值,该值指示 CurrentConfiguration 属性是否 |
| InheritsFrom |
已过时.
获取或设置此设备适配器集继承的设备适配器集的名称。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 |
| Item[ConfigurationProperty] |
已过时.
获取或设置此配置元素的属性或属性。 (继承自 ConfigurationElement) |
| Item[String] |
已过时.
获取或设置此配置元素的属性、属性或子元素。 (继承自 ConfigurationElement) |
| LockAllAttributesExcept |
已过时.
获取锁定属性的集合。 (继承自 ConfigurationElement) |
| LockAllElementsExcept |
已过时.
获取锁定元素的集合。 (继承自 ConfigurationElement) |
| LockAttributes |
已过时.
获取锁定属性的集合。 (继承自 ConfigurationElement) |
| LockElements |
已过时.
获取锁定元素的集合。 (继承自 ConfigurationElement) |
| LockItem |
已过时.
获取或设置一个值,该值指示元素是否已锁定。 (继承自 ConfigurationElement) |
| Name |
已过时.
获取唯一标识设备适配器集的字符串值。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 |
| PageAdapter |
已过时.
获取此设备适配器集的页面适配器类的类型。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 |
| PredicateClass |
已过时.
获取或设置包含用于检测设备适配器集是否适用的方法的类。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 |
| PredicateMethod |
已过时.
获取或设置用于通过当前 HttpContext 实例检测设备适配器集是否适用的方法。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 |
| Properties |
已过时.
获取属性的集合。 (继承自 ConfigurationElement) |