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

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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 the www.asp.net/mobile Web site.

Namespace:   System.Web.UI.MobileControls
Assembly:  System.Web.Mobile (in System.Web.Mobile.dll)

public DeviceElement(
	string name,
	string inheritsFrom,
	Type predicateClass,
	string predicateMethod,
	Type pageAdapter
)

Parameters

name
Type: System.String

The unique identifier of the device adapter set.

inheritsFrom
Type: System.String

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

predicateClass
Type: System.Type

The class to which the method specified by predicateMethod belongs.

predicateMethod
Type: System.String

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

pageAdapter
Type: System.Type

Identifies the page adapter class for the device set.

.NET Framework
Available since 2.0
Return to top
Show: