MaxLengthAttribute Constructors

Definitie

Initialiseert een nieuw exemplaar van de MaxLengthAttribute klasse.

Overloads

Name Description
MaxLengthAttribute()

Initialiseert een nieuw exemplaar van de MaxLengthAttribute klasse.

MaxLengthAttribute(Int32)

Initialiseert een nieuw exemplaar van de MaxLengthAttribute klasse op basis van de length parameter.

MaxLengthAttribute()

Bron:
MaxLengthAttribute.cs
Bron:
MaxLengthAttribute.cs
Bron:
MaxLengthAttribute.cs
Bron:
MaxLengthAttribute.cs
Bron:
MaxLengthAttribute.cs

Initialiseert een nieuw exemplaar van de 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 ()
Kenmerken

Opmerkingen

De maximale toegestane lengte die door de database wordt ondersteund, wordt gebruikt.

Van toepassing op

MaxLengthAttribute(Int32)

Bron:
MaxLengthAttribute.cs
Bron:
MaxLengthAttribute.cs
Bron:
MaxLengthAttribute.cs
Bron:
MaxLengthAttribute.cs
Bron:
MaxLengthAttribute.cs

Initialiseert een nieuw exemplaar van de MaxLengthAttribute klasse op basis van de 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)

Parameters

length
Int32

De maximaal toegestane lengte van matrix- of tekenreeksgegevens.

Kenmerken

Van toepassing op