StringLengthAttribute(Int32) Konstruktor

Definicja

Inicjuje StringLengthAttribute nowe wystąpienie klasy przy użyciu określonej maksymalnej długości.

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

Parametry

maximumLength
Int32

Maksymalna długość ciągu.

Dotyczy