Uredi

Deli z drugimi prek


ObjectListItem.Item[] Property

Definition

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

Item[String]

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

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

Parameters

index
Int32

The index of the field in the object list item to get or set.

Property Value

The value of the field with the specified index.

See also

Applies to

Item[String]

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

public:
 property System::String ^ default[System::String ^] { System::String ^ get(System::String ^ key); void set(System::String ^ key, System::String ^ value); };
public string this[string key] { get; set; }
member this.Item(string) : string with get, set
Default Public Property Item(key As String) As String

Parameters

key
String

The name of the field in the object list item to get or set.

Property Value

The value of the field with the specified key.

Remarks

You must match the Name or DataField property of a field of the object list.

See also

Applies to