Share via


BooleanChoiceAttribute Class

Definition

Boolean choice attribute

[System.AttributeUsage(System.AttributeTargets.Field | System.AttributeTargets.Property, AllowMultiple=false, Inherited=false)]
public sealed class BooleanChoiceAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Field | System.AttributeTargets.Property, AllowMultiple=false, Inherited=false)>]
type BooleanChoiceAttribute = class
    inherit Attribute
Public NotInheritable Class BooleanChoiceAttribute
Inherits Attribute
Inheritance
BooleanChoiceAttribute
Attributes

Constructors

BooleanChoiceAttribute()

Create a BooleanChoiceAttribute.

BooleanChoiceAttribute(Boolean)

Create a BooleanChoiceAttribute with default value.

Properties

DefaultValue

Applies to