Bewerken

Delen via


DeviceElement Constructors

Definition

Initializes a new instance of the DeviceElement class. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

Overloads

DeviceElement(String, String)

Initializes a new instance of the DeviceElement class with the specified identifier and device adapter set to inherit from. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

DeviceElement(String, Type, String, Type)

Initializes a new instance of the DeviceElement class with the specified identifier and page adapter. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

DeviceElement(String, String, Type, String, Type)

Initializes a new instance of the DeviceElement class with the specified identifier, page adapter, and device adapter set to inherit from. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

DeviceElement(String, String)

Initializes a new instance of the DeviceElement class with the specified identifier and device adapter set to inherit from. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with 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)

Parameters

name
String

The unique identifier of the device adapter set.

inheritsFrom
String

The device adapter set that this device adapter set inherits from.

See also

Applies to

DeviceElement(String, Type, String, Type)

Initializes a new instance of the DeviceElement class with the specified identifier and page adapter. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with 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)

Parameters

name
String

The unique identifier of the device adapter set.

predicateClass
Type

The class to which the method specified by predicateMethod belongs.

predicateMethod
String

A method used to detect through the current HttpContext whether the device adapter set is applicable.

pageAdapter
Type

Identifies the page adapter class for the device set.

See also

Applies to

DeviceElement(String, String, Type, String, Type)

Initializes a new instance of the DeviceElement class with the specified identifier, page adapter, and device adapter set to inherit from. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with 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)

Parameters

name
String

The unique identifier of the device adapter set.

inheritsFrom
String

The device adapter set that this device adapter set inherits from.

predicateClass
Type

The class to which the method specified by predicateMethod belongs.

predicateMethod
String

A method used to detect through the current HttpContext whether the device adapter set is applicable.

pageAdapter
Type

Identifies the page adapter class for the device set.

See also

Applies to