MaxLengthAttribute Konstruktory
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Inicjuje nowe wystąpienie klasy MaxLengthAttribute.
Przeciążenia
| Nazwa | Opis |
|---|---|
| MaxLengthAttribute() |
Inicjuje nowe wystąpienie klasy MaxLengthAttribute. |
| MaxLengthAttribute(Int32) |
Inicjuje nowe wystąpienie MaxLengthAttribute klasy na podstawie parametru |
MaxLengthAttribute()
- Źródło:
- MaxLengthAttribute.cs
- Źródło:
- MaxLengthAttribute.cs
- Ź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();
[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 ()
- Atrybuty
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
- Źródło:
- MaxLengthAttribute.cs
- Źródło:
- MaxLengthAttribute.cs
Inicjuje nowe wystąpienie MaxLengthAttribute klasy na podstawie 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
Maksymalna dozwolona długość danych tablicy lub ciągów.
- Atrybuty