MaxLengthAttribute コンストラクター

定義

MaxLengthAttribute クラスの新しいインスタンスを初期化します。

オーバーロード

MaxLengthAttribute()

MaxLengthAttribute クラスの新しいインスタンスを初期化します。

MaxLengthAttribute(Int32)

length パラメーターに基づいて、MaxLengthAttribute クラスの新しいインスタンスを初期化します。

MaxLengthAttribute()

ソース:
MaxLengthAttribute.cs
ソース:
MaxLengthAttribute.cs
ソース:
MaxLengthAttribute.cs

MaxLengthAttribute クラスの新しいインスタンスを初期化します。

public:
 MaxLengthAttribute();
public MaxLengthAttribute ();
Public Sub New ()

注釈

データベースでサポートされている範囲で許容される最大長が使用されます。

適用対象

MaxLengthAttribute(Int32)

ソース:
MaxLengthAttribute.cs
ソース:
MaxLengthAttribute.cs
ソース:
MaxLengthAttribute.cs

length パラメーターに基づいて、MaxLengthAttribute クラスの新しいインスタンスを初期化します。

public:
 MaxLengthAttribute(int length);
public MaxLengthAttribute (int length);
new System.ComponentModel.DataAnnotations.MaxLengthAttribute : int -> System.ComponentModel.DataAnnotations.MaxLengthAttribute
Public Sub New (length As Integer)

パラメーター

length
Int32

配列または文字列データの許容される最大長。

適用対象