MaxLengthAttribute Costruttori
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
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 |
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