DeviceElementCollection.Item[] 属性

定义

获取或设置集合中的设备元素。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

重载

名称 说明
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

另请参阅

适用于