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 DesignerAutoFormat spécifié 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 à rechercher dans la collection.
Retours
Index de base zéro de la première occurrence de format
dans la collection ; sinon, -1, si le format ne se trouve 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.
S’applique à
Voir aussi
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour