MaxLengthAttribute コンストラクター

定義

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

オーバーロード

名前 説明
MaxLengthAttribute()

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

MaxLengthAttribute(Int32)

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

MaxLengthAttribute()

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

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

public:
 MaxLengthAttribute();
public MaxLengthAttribute();
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Uses reflection to get the 'Count' property on types that don't implement ICollection. This 'Count' property may be trimmed. Ensure it is preserved.")]
public MaxLengthAttribute();
Public Sub New ()
属性

注釈

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

適用対象

MaxLengthAttribute(Int32)

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

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

public:
 MaxLengthAttribute(int length);
public MaxLengthAttribute(int length);
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Uses reflection to get the 'Count' property on types that don't implement ICollection. This 'Count' property may be trimmed. Ensure it is preserved.")]
public MaxLengthAttribute(int length);
new System.ComponentModel.DataAnnotations.MaxLengthAttribute : int -> System.ComponentModel.DataAnnotations.MaxLengthAttribute
[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Uses reflection to get the 'Count' property on types that don't implement ICollection. This 'Count' property may be trimmed. Ensure it is preserved.")>]
new System.ComponentModel.DataAnnotations.MaxLengthAttribute : int -> System.ComponentModel.DataAnnotations.MaxLengthAttribute
Public Sub New (length As Integer)

パラメーター

length
Int32

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

属性

適用対象