ApiConventionTypeMatchAttribute Classe

Définition

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ématchBehavior.

Propriétés

MatchBehavior

Obtient ApiConventionTypeMatchBehavior.

S’applique à