Udostępnij przez


MaxLengthAttribute Konstruktory

Definicja

Inicjuje nowe wystąpienie klasy MaxLengthAttribute.

Przeciążenia

MaxLengthAttribute()

Inicjuje nowe wystąpienie klasy MaxLengthAttribute.

MaxLengthAttribute(Int32)

Inicjuje MaxLengthAttribute nowe wystąpienie klasy na podstawie parametru length .

MaxLengthAttribute()

Źródło:
MaxLengthAttribute.cs
Źródło:
MaxLengthAttribute.cs
Źródło:
MaxLengthAttribute.cs

Inicjuje nowe wystąpienie klasy MaxLengthAttribute.

public:
 MaxLengthAttribute();
public MaxLengthAttribute ();
Public Sub New ()

Uwagi

Zostanie użyta maksymalna dozwolona długość obsługiwana przez bazę danych.

Dotyczy

MaxLengthAttribute(Int32)

Źródło:
MaxLengthAttribute.cs
Źródło:
MaxLengthAttribute.cs
Źródło:
MaxLengthAttribute.cs

Inicjuje MaxLengthAttribute nowe wystąpienie klasy na podstawie parametru length .

public:
 MaxLengthAttribute(int length);
public MaxLengthAttribute (int length);
new System.ComponentModel.DataAnnotations.MaxLengthAttribute : int -> System.ComponentModel.DataAnnotations.MaxLengthAttribute
Public Sub New (length As Integer)

Parametry

length
Int32

Maksymalna dozwolona długość danych tablicy lub ciągu.

Dotyczy