MaxLengthAttribute Construtores

Definição

Inicializa uma nova instância da classe MaxLengthAttribute.

Sobrecargas

Nome Description
MaxLengthAttribute()

Inicializa uma nova instância da classe MaxLengthAttribute.

MaxLengthAttribute(Int32)

Inicializa uma nova instância da MaxLengthAttribute classe com base no length parâmetro.

MaxLengthAttribute()

Origem:
MaxLengthAttribute.cs
Origem:
MaxLengthAttribute.cs
Origem:
MaxLengthAttribute.cs
Origem:
MaxLengthAttribute.cs
Origem:
MaxLengthAttribute.cs

Inicializa uma nova instância da 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 ()
Atributos

Comentários

O comprimento máximo permitido com suporte pelo banco de dados será usado.

Aplica-se a

MaxLengthAttribute(Int32)

Origem:
MaxLengthAttribute.cs
Origem:
MaxLengthAttribute.cs
Origem:
MaxLengthAttribute.cs
Origem:
MaxLengthAttribute.cs
Origem:
MaxLengthAttribute.cs

Inicializa uma nova instância da MaxLengthAttribute classe com base no length parâmetro.

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)

Parâmetros

length
Int32

O comprimento máximo permitido de dados de matriz ou cadeia de caracteres.

Atributos

Aplica-se a