DesignerAutoFormatCollection.IndexOf(DesignerAutoFormat) 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.
Retourne l’index de l’objet spécifié DesignerAutoFormat dans la collection.
public:
int IndexOf(System::Web::UI::Design::DesignerAutoFormat ^ format);
public int IndexOf(System.Web.UI.Design.DesignerAutoFormat format);
member this.IndexOf : System.Web.UI.Design.DesignerAutoFormat -> int
Public Function IndexOf (format As DesignerAutoFormat) As Integer
Paramètres
- format
- DesignerAutoFormat
À DesignerAutoFormat localiser dans la collection.
Retours
Index de base zéro de la première occurrence de format la collection ; sinon, -1, si le format n’est pas dans la collection.
Remarques
La IndexOf méthode détermine l’égalité à l’aide de la Equals méthode sur les DesignerAutoFormat objets qui sont comparés.