ApiConventionNameMatchAttribute Classe
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.
Détermine le comportement de correspondance d’une méthode ou d’un paramètre de convention d’API par nom. ApiConventionNameMatchBehavior pour les options prises en charge. .
public ref class ApiConventionNameMatchAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Method | System.AttributeTargets.Parameter, AllowMultiple=false, Inherited=false)]
public sealed class ApiConventionNameMatchAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Method | System.AttributeTargets.Parameter, AllowMultiple=false, Inherited=false)>]
type ApiConventionNameMatchAttribute = class
inherit Attribute
Public NotInheritable Class ApiConventionNameMatchAttribute
Inherits Attribute
- Héritage
-
ApiConventionNameMatchAttribute
- Attributs
Remarques
Exact est utilisé si aucune valeur de cet attribut n’est spécifiée sur une méthode ou un paramètre de convention.
Constructeurs
ApiConventionNameMatchAttribute(ApiConventionNameMatchBehavior) |
Initialise une nouvelle instance de ApiConventionNameMatchAttribute. |
Propriétés
MatchBehavior |
Obtient ApiConventionNameMatchBehavior. |
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