DeviceElement 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 DeviceElement 类的新实例。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅
重载
| 名称 | 说明 |
|---|---|
| DeviceElement(String, String) |
使用要继承的指定标识符和设备适配器初始化类的新实例 DeviceElement 。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 |
| DeviceElement(String, Type, String, Type) |
使用指定的标识符和页面适配器初始化类的新实例 DeviceElement 。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 |
| DeviceElement(String, String, Type, String, Type) |
使用设置为继承的指定标识符、页面适配器和设备适配器初始化类的新实例 DeviceElement 。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 |
DeviceElement(String, String)
使用要继承的指定标识符和设备适配器初始化类的新实例 DeviceElement 。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅
public:
DeviceElement(System::String ^ name, System::String ^ inheritsFrom);
public DeviceElement(string name, string inheritsFrom);
new System.Web.UI.MobileControls.DeviceElement : string * string -> System.Web.UI.MobileControls.DeviceElement
Public Sub New (name As String, inheritsFrom As String)
参数
- name
- String
设备适配器集的唯一标识符。
- inheritsFrom
- String
此设备适配器集继承的设备适配器集。
另请参阅
适用于
DeviceElement(String, Type, String, Type)
使用指定的标识符和页面适配器初始化类的新实例 DeviceElement 。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅
public:
DeviceElement(System::String ^ name, Type ^ predicateClass, System::String ^ predicateMethod, Type ^ pageAdapter);
public DeviceElement(string name, Type predicateClass, string predicateMethod, Type pageAdapter);
new System.Web.UI.MobileControls.DeviceElement : string * Type * string * Type -> System.Web.UI.MobileControls.DeviceElement
Public Sub New (name As String, predicateClass As Type, predicateMethod As String, pageAdapter As Type)
参数
- name
- String
设备适配器集的唯一标识符。
- predicateClass
- Type
方法所属的 predicateMethod 类。
- predicateMethod
- String
用于通过当前 HttpContext 检测设备适配器集是否适用的方法。
- pageAdapter
- Type
标识设备集的页面适配器类。
另请参阅
适用于
DeviceElement(String, String, Type, String, Type)
使用设置为继承的指定标识符、页面适配器和设备适配器初始化类的新实例 DeviceElement 。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅
public:
DeviceElement(System::String ^ name, System::String ^ inheritsFrom, Type ^ predicateClass, System::String ^ predicateMethod, Type ^ pageAdapter);
public DeviceElement(string name, string inheritsFrom, Type predicateClass, string predicateMethod, Type pageAdapter);
new System.Web.UI.MobileControls.DeviceElement : string * string * Type * string * Type -> System.Web.UI.MobileControls.DeviceElement
Public Sub New (name As String, inheritsFrom As String, predicateClass As Type, predicateMethod As String, pageAdapter As Type)
参数
- name
- String
设备适配器集的唯一标识符。
- inheritsFrom
- String
此设备适配器集继承的设备适配器集。
- predicateClass
- Type
方法所属的 predicateMethod 类。
- predicateMethod
- String
用于通过当前 HttpContext 检测设备适配器集是否适用的方法。
- pageAdapter
- Type
标识设备集的页面适配器类。