語言

DeviceElement 建構函式

定義

初始化 DeviceElement 類別的新執行個體。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

多載

名稱 Description
DeviceElement(String, String)

初始化一個新的類別實例 DeviceElement ,並設定指定識別碼及裝置介面卡以繼承來源。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

DeviceElement(String, Type, String, Type)

初始化一個新的類別實例 DeviceElement ,使用指定的識別碼與分頁適配器。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

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

初始化一個新的類別實例 DeviceElement ,並設定指定的識別碼、頁面介面卡及裝置介面卡以繼承來源。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

DeviceElement(String, String)

初始化一個新的類別實例 DeviceElement ,並設定指定識別碼及裝置介面卡以繼承來源。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &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 行動應用程式的資訊,請參閱 Mobile Apps &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 行動應用程式的資訊,請參閱 Mobile Apps &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

識別裝置集的分頁適配器類別。

另請參閱

適用於