ObjectList.LabelFieldIndex Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.