Table of Contents

Class MaxLengthAttribute

Namespace
CSV4Unity.Validation
Assembly
CSV4Unity.Docs.dll

セル文字列が指定した最大長以下であることを要求します。

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

Constructors

MaxLengthAttribute(int)

文字列の最大長を設定します。

Properties

MaxLength

string.Lengthで判定する最大長を取得します。