MaxLengthAttribute Oluşturucular

Tanım

MaxLengthAttribute sınıfının yeni bir örneğini başlatır.

Aşırı Yüklemeler

Name Description
MaxLengthAttribute()

MaxLengthAttribute sınıfının yeni bir örneğini başlatır.

MaxLengthAttribute(Int32)

parametresine göre sınıfının yeni bir örneğini MaxLengthAttributelength başlatır.

MaxLengthAttribute()

Kaynak:
MaxLengthAttribute.cs
Kaynak:
MaxLengthAttribute.cs
Kaynak:
MaxLengthAttribute.cs
Kaynak:
MaxLengthAttribute.cs
Kaynak:
MaxLengthAttribute.cs

MaxLengthAttribute sınıfının yeni bir örneğini başlatır.

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 ()
Öznitelikler

Açıklamalar

Veritabanı tarafından desteklenen izin verilen uzunluk üst sınırı kullanılır.

Şunlara uygulanır

MaxLengthAttribute(Int32)

Kaynak:
MaxLengthAttribute.cs
Kaynak:
MaxLengthAttribute.cs
Kaynak:
MaxLengthAttribute.cs
Kaynak:
MaxLengthAttribute.cs
Kaynak:
MaxLengthAttribute.cs

parametresine göre sınıfının yeni bir örneğini MaxLengthAttributelength başlatır.

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)

Parametreler

length
Int32

Dizi veya dize verilerinin izin verilen uzunluk üst sınırı.

Öznitelikler

Şunlara uygulanır