次の方法で共有


ChoiceAttribute クラス

定義

Choice 属性

[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
継承
ChoiceAttribute
属性

コンストラクター

ChoiceAttribute(Object[])

candidatesChoiceAttribute を作成します。

ChoiceAttribute(Object[], Object)

と を使用して candidatesChoiceAttribute作成しますdefaultValue

プロパティ

Candidates

このオプションの候補を取得します。

DefaultValue

このオプションの既定値を取得します。

適用対象