DataPagerFieldCollection.IndexOf(DataPagerField) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Obtient l'index d'un objet DataPagerField spécifique de la collection.
public:
int IndexOf(System::Web::UI::WebControls::DataPagerField ^ field);
public int IndexOf(System.Web.UI.WebControls.DataPagerField field);
member this.IndexOf : System.Web.UI.WebControls.DataPagerField -> int
Public Function IndexOf (field As DataPagerField) As Integer
Paramètres
- field
- DataPagerField
Objet à localiser dans la collection.
Retours
Index du paramètre field, s'il figure dans la collection ; sinon, -1.