ObjectList.LabelFieldIndex Property

Definition

Gets the index in the AllFields collection of the field that has been set by the LabelField property. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

public:
 property int LabelFieldIndex { int get(); };
[System.ComponentModel.Bindable(false)]
[System.ComponentModel.Browsable(false)]
public int LabelFieldIndex { get; }
[<System.ComponentModel.Bindable(false)>]
[<System.ComponentModel.Browsable(false)>]
member this.LabelFieldIndex : int
Public ReadOnly Property LabelFieldIndex As Integer

Property Value

The index within the AllFields collection of the field that is used as the label. The default value is zero.

Attributes

Remarks

If the LabelField property has not been set, LabelFieldIndex returns zero.

Applies to

See also