ConfigurationElementCollection.BaseIndexOf(ConfigurationElement) 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.
Indique l'index de l'élément ConfigurationElement spécifié.
protected:
int BaseIndexOf(System::Configuration::ConfigurationElement ^ element);
protected int BaseIndexOf (System.Configuration.ConfigurationElement element);
member this.BaseIndexOf : System.Configuration.ConfigurationElement -> int
Protected Function BaseIndexOf (element As ConfigurationElement) As Integer
Paramètres
- element
- ConfigurationElement
ConfigurationElement pour l'emplacement d'index spécifié.
Retours
Index du ConfigurationElement spécifié ; sinon, -1.
Exemples
L’exemple de code suivant montre comment appeler la BaseIndexOf méthode .
Public Function IndexOf(ByVal url As UrlConfigElement) As Integer
Return BaseIndexOf(url)
End Function
S’applique à
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de l’année 2024, nous abandonnerons progressivement le mécanisme de retour d’information GitHub Issues pour le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultez :Soumettre et afficher des commentaires pour