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