MaxLengthAttribute Konstruktoren
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Initialisiert eine neue Instanz der MaxLengthAttribute-Klasse.
Überlädt
| Name | Beschreibung |
|---|---|
| MaxLengthAttribute() |
Initialisiert eine neue Instanz der MaxLengthAttribute-Klasse. |
| MaxLengthAttribute(Int32) |
Initialisiert eine neue Instanz der MaxLengthAttribute Klasse basierend auf dem |
MaxLengthAttribute()
- Quelle:
- MaxLengthAttribute.cs
- Quelle:
- MaxLengthAttribute.cs
- Quelle:
- MaxLengthAttribute.cs
- Quelle:
- MaxLengthAttribute.cs
- Quelle:
- MaxLengthAttribute.cs
Initialisiert eine neue Instanz der MaxLengthAttribute-Klasse.
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 ()
- Attribute
Hinweise
Die maximal zulässige Länge, die von der Datenbank unterstützt wird, wird verwendet.
Gilt für:
MaxLengthAttribute(Int32)
- Quelle:
- MaxLengthAttribute.cs
- Quelle:
- MaxLengthAttribute.cs
- Quelle:
- MaxLengthAttribute.cs
- Quelle:
- MaxLengthAttribute.cs
- Quelle:
- MaxLengthAttribute.cs
Initialisiert eine neue Instanz der MaxLengthAttribute Klasse basierend auf dem length Parameter.
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)
Parameter
- length
- Int32
Die maximale zulässige Länge von Array- oder Zeichenfolgendaten.
- Attribute