DeviceElementCollection.Item[] 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定一個裝置元素到集合中。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱
多載
| 名稱 | Description |
|---|---|
| Item[Int32] |
取得或設定裝置元素到指定的索引位置。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 |
| Item[String] |
回傳裝置元素並指定金鑰。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 |
Item[Int32]
取得或設定裝置元素到指定的索引位置。 這個 API 已經過時了。 有關如何開發 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 行動應用程式的資訊,請參閱
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。