ChoiceAttribute Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Choice attribute
[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
- Inheritance
-
ChoiceAttribute
- Attributes
Constructors
ChoiceAttribute(Object[], Object) |
Create a ChoiceAttribute with |
ChoiceAttribute(Object[]) |
Create a ChoiceAttribute with |
Properties
Candidates |
Get the candidates of this option. |
DefaultValue |
Get the default value of this option. |