RuntimeProperty.IReadOnlyProperty.GetMaxLength Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Obtient la longueur maximale des données autorisées dans cette propriété. Par exemple, si la propriété est un String , il s’agit du nombre maximal de caractères.
[System.Diagnostics.DebuggerStepThrough]
int? IReadOnlyProperty.GetMaxLength();
[<System.Diagnostics.DebuggerStepThrough>]
abstract member Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty.GetMaxLength : unit -> Nullable<int>
override this.Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty.GetMaxLength : unit -> Nullable<int>
Function GetMaxLength () As Nullable(Of Integer) Implements IReadOnlyProperty.GetMaxLength
Retours
Longueur maximale, -1 si la propriété n’a pas de longueur maximale, ou null si la longueur maximale n’a pas été définie.
Implémente
- Attributs