BooleanChoiceAttribute 类

定义

布尔选项属性

[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
继承
BooleanChoiceAttribute
属性

构造函数

BooleanChoiceAttribute()

创建 BooleanChoiceAttribute

BooleanChoiceAttribute(Boolean)

使用默认值创建一个 BooleanChoiceAttribute

属性

DefaultValue

布尔选项属性

适用于