語言

DeviceElementCollection.Item[] 屬性

定義

取得或設定一個裝置元素到集合中。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

多載

名稱 Description
Item[Int32]

取得或設定裝置元素到指定的索引位置。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

Item[String]

回傳裝置元素並指定金鑰。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

Item[Int32]

取得或設定裝置元素到指定的索引位置。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

public:
 property System::Web::UI::MobileControls::DeviceElement ^ default[int] { System::Web::UI::MobileControls::DeviceElement ^ get(int index); void set(int index, System::Web::UI::MobileControls::DeviceElement ^ value); };
public System.Web.UI.MobileControls.DeviceElement this[int index] { get; set; }
member this.Item(int) : System.Web.UI.MobileControls.DeviceElement with get, set
Default Public Property Item(index As Integer) As DeviceElement

參數

index
Int32

返回的指定索引位置 DeviceElement 。

屬性值

在指定的索引上。DeviceElement

另請參閱

適用於

Item[String]

回傳裝置元素並指定金鑰。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

public:
 property System::Web::UI::MobileControls::DeviceElement ^ default[System::String ^] { System::Web::UI::MobileControls::DeviceElement ^ get(System::String ^ name); };
public System.Web.UI.MobileControls.DeviceElement this[string name] { get; }
member this.Item(string) : System.Web.UI.MobileControls.DeviceElement
Default Public ReadOnly Property Item(name As String) As DeviceElement

參數

name
String

回歸的鑰匙 DeviceElement 。

屬性值

該DeviceElement 若集合中不存在具有指定 name的物件, Item[String] 則返回 null。

另請參閱

適用於