MaxLengthAttribute Costruttori

Definizione

Inizializza una nuova istanza della classe MaxLengthAttribute.

Overload

Nome Descrizione
MaxLengthAttribute()

Inizializza una nuova istanza della classe MaxLengthAttribute.

MaxLengthAttribute(Int32)

Inizializza una nuova istanza della MaxLengthAttribute classe in base al length parametro .

MaxLengthAttribute()

Origine:
MaxLengthAttribute.cs
Origine:
MaxLengthAttribute.cs
Origine:
MaxLengthAttribute.cs
Origine:
MaxLengthAttribute.cs
Origine:
MaxLengthAttribute.cs

Inizializza una nuova istanza della classe 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 ()
Attributi

Commenti

Verrà utilizzata la lunghezza massima consentita supportata dal database.

Si applica a

MaxLengthAttribute(Int32)

Origine:
MaxLengthAttribute.cs
Origine:
MaxLengthAttribute.cs
Origine:
MaxLengthAttribute.cs
Origine:
MaxLengthAttribute.cs
Origine:
MaxLengthAttribute.cs

Inizializza una nuova istanza della MaxLengthAttribute classe in base al length parametro .

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)

Parametri

length
Int32

Lunghezza massima consentita di dati di matrice o stringa.

Attributi

Si applica a