Partage via


ObjectList.LabelFieldIndex Propriété

Définition

Obtient l’index dans la AllFields collection du champ qui a été défini par la LabelField propriété. 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 AllFields collection du champ 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