Bewerken

Delen via


DeviceElementCollection.Item[] Property

Definition

Gets or sets a device element in the collection. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

Overloads

Item[Int32]

Gets or sets the device element at the specified index location. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

Item[String]

Returns the device element with the specified key. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

Item[Int32]

Gets or sets the device element at the specified index location. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with 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

Parameters

index
Int32

The specified index location of the DeviceElement to return.

Property Value

The DeviceElement at the specified index.

See also

Applies to

Item[String]

Returns the device element with the specified key. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with 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

Parameters

name
String

The key of the DeviceElement to return.

Property Value

The DeviceElement with the specified key. If no object exists in the collection with the specified name, Item[String] returns null.

See also

Applies to