Share via


DeviceElement 建構函式

定義

初始化 DeviceElement 類別的新執行個體。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET

多載

DeviceElement(String, String)

使用要從其繼承的指定識別項和裝置配接器集,初始化 DeviceElement 類別的新執行個體。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET

DeviceElement(String, Type, String, Type)

使用指定的識別項和頁面配接器,初始化 DeviceElement 類別的新執行個體。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET

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

使用要從其繼承的指定識別項、頁面配置器和裝置配接器集,初始化 DeviceElement 類別的新執行個體。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET

DeviceElement(String, String)

使用要從其繼承的指定識別項和裝置配接器集,初始化 DeviceElement 類別的新執行個體。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 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)

參數

name
String

裝置配接器集的唯一識別項。

inheritsFrom
String

這個裝置配接器集繼承自的裝置配接器集。

另請參閱

適用於

DeviceElement(String, Type, String, Type)

使用指定的識別項和頁面配接器,初始化 DeviceElement 類別的新執行個體。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 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)

參數

name
String

裝置配接器集的唯一識別項。

predicateClass
Type

predicateMethod 指定之方法的所屬類別。

predicateMethod
String

用於透過目前 HttpContext 偵測裝置配接器集是否適用的方法。

pageAdapter
Type

識別裝置集的頁面配置器類別。

另請參閱

適用於

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

使用要從其繼承的指定識別項、頁面配置器和裝置配接器集,初始化 DeviceElement 類別的新執行個體。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 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)

參數

name
String

裝置配接器集的唯一識別項。

inheritsFrom
String

這個裝置配接器集繼承自的裝置配接器集。

predicateClass
Type

predicateMethod 指定之方法的所屬類別。

predicateMethod
String

用於透過目前 HttpContext 偵測裝置配接器集是否適用的方法。

pageAdapter
Type

識別裝置集的頁面配置器類別。

另請參閱

適用於