XmlArrayItemAttributes.IndexOf(XmlArrayItemAttribute) 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 base zéro de la première occurrence du XmlArrayItemAttribute spécifié dans la collection ou -1 si l'attribut n'est pas trouvé dans la collection.
public:
int IndexOf(System::Xml::Serialization::XmlArrayItemAttribute ^ attribute);
public int IndexOf (System.Xml.Serialization.XmlArrayItemAttribute attribute);
public int IndexOf (System.Xml.Serialization.XmlArrayItemAttribute? attribute);
member this.IndexOf : System.Xml.Serialization.XmlArrayItemAttribute -> int
Public Function IndexOf (attribute As XmlArrayItemAttribute) As Integer
Paramètres
- attribute
- XmlArrayItemAttribute
XmlArrayItemAttribute à rechercher dans la collection.
Retours
Premier index du XmlArrayItemAttribute dans la collection ou -1 si l'attribut n'est pas trouvé dans la collection.
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