Share via


ObjectList.LabelFieldIndex Propriété

Définition

Obtient l'index présent dans la collection AllFields du champ qui a été défini par la propriété LabelField. Cette API est obsolète. Pour plus d’informations sur le développement d’applications mobiles ASP.NET, consultez Mobile Apps & Sites avec 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

Valeur de propriété

Index dans la collection AllFields du champ qui est utilisé comme étiquette. La valeur par défaut est zéro.

Attributs

Remarques

Si la LabelField propriété n’a pas été définie, LabelFieldIndex retourne zéro.

S’applique à

Voir aussi