Table of Contents

Class AllowedValuesAttribute

Namespace
CSV4Unity.Validation
Assembly
CSV4Unity.Docs.dll

セル文字列が許可値のいずれかと一致することを要求します。

[AttributeUsage(AttributeTargets.Field, AllowMultiple = true)]
public class AllowedValuesAttribute : CsvValidationAttribute
Inheritance
object
Attribute
AllowedValuesAttribute
Inherited Members

Remarks

許可値はInvariantCultureで文字列化し、大文字小文字を区別して比較されます。

Constructors

AllowedValuesAttribute(params object[])

許可される値を設定します。

Properties

AllowedValues

指定された許可値を取得します。