ChoiceAttribute 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.
Attribut de choix
[System.AttributeUsage(System.AttributeTargets.Field | System.AttributeTargets.Property, AllowMultiple=false, Inherited=false)]
public sealed class ChoiceAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Field | System.AttributeTargets.Property, AllowMultiple=false, Inherited=false)>]
type ChoiceAttribute = class
inherit Attribute
Public NotInheritable Class ChoiceAttribute
Inherits Attribute
- Héritage
-
ChoiceAttribute
- Attributs
Constructeurs
| ChoiceAttribute(Object[]) |
Créez un ChoiceAttribute avec |
| ChoiceAttribute(Object[], Object) |
Créez un ChoiceAttribute avec |
Propriétés
| Candidates |
Obtenez les candidats de cette option. |
| DefaultValue |
Obtenez la valeur par défaut de cette option. |