MaxLengthAttribute Konstruktory

Definice

Inicializuje novou instanci MaxLengthAttribute třídy.

Přetížení

Name Description
MaxLengthAttribute()

Inicializuje novou instanci MaxLengthAttribute třídy.

MaxLengthAttribute(Int32)

Inicializuje novou instanci MaxLengthAttribute třídy na základě parametru length .

MaxLengthAttribute()

Zdroj:
MaxLengthAttribute.cs
Zdroj:
MaxLengthAttribute.cs
Zdroj:
MaxLengthAttribute.cs
Zdroj:
MaxLengthAttribute.cs
Zdroj:
MaxLengthAttribute.cs

Inicializuje novou instanci MaxLengthAttribute třídy.

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 ()
Atributy

Poznámky

Použije se maximální povolená délka podporovaná databází.

Platí pro

MaxLengthAttribute(Int32)

Zdroj:
MaxLengthAttribute.cs
Zdroj:
MaxLengthAttribute.cs
Zdroj:
MaxLengthAttribute.cs
Zdroj:
MaxLengthAttribute.cs
Zdroj:
MaxLengthAttribute.cs

Inicializuje novou instanci MaxLengthAttribute třídy na základě parametru length .

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)

Parametry

length
Int32

Maximální povolená délka maticových nebo řetězcových dat.

Atributy

Platí pro