ConventionSet.AddAfter 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.
Surcharges
AddAfter<TConvention>(IList<TConvention>, TConvention, Type) |
Ajoute une convention après une convention existante. |
AddAfter<TConvention>(List<TConvention>, TConvention, Type) |
Ajoute une convention après une convention existante. |
AddAfter<TConvention>(IList<TConvention>, TConvention, Type)
Ajoute une convention après une convention existante.
public static bool AddAfter<TConvention> (System.Collections.Generic.IList<TConvention> conventionsList, TConvention newConvention, Type existingConventionType);
static member AddAfter : System.Collections.Generic.IList<'Convention> * 'Convention * Type -> bool
Public Shared Function AddAfter(Of TConvention) (conventionsList As IList(Of TConvention), newConvention As TConvention, existingConventionType As Type) As Boolean
Paramètres de type
- TConvention
Type de convention en cours d’ajout.
Paramètres
- conventionsList
- IList<TConvention>
Liste des instances de convention existantes à analyser.
- newConvention
- TConvention
La nouvelle convention.
- existingConventionType
- Type
Type de la convention existante.
Retours
true
si la convention a été ajoutée.
S’applique à
AddAfter<TConvention>(List<TConvention>, TConvention, Type)
Ajoute une convention après une convention existante.
public static bool AddAfter<TConvention> (System.Collections.Generic.List<TConvention> conventionsList, TConvention newConvention, Type existingConventionType);
static member AddAfter : System.Collections.Generic.List<'Convention> * 'Convention * Type -> bool
Public Shared Function AddAfter(Of TConvention) (conventionsList As List(Of TConvention), newConvention As TConvention, existingConventionType As Type) As Boolean
Paramètres de type
- TConvention
Type de convention en cours d’ajout.
Paramètres
- conventionsList
- List<TConvention>
Liste des instances de convention existantes à analyser.
- newConvention
- TConvention
La nouvelle convention.
- existingConventionType
- Type
Type de la convention existante.
Retours
true
si la convention a été ajoutée.
S’applique à
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