Compartir a través de


RuntimeElementType.IReadOnlyElementType.GetMaxLength Método

Definición

Obtiene la longitud máxima de los datos permitidos en los elementos de la colección. Por ejemplo, si el tipo de elemento es , String este es el número máximo de caracteres.

[System.Diagnostics.DebuggerStepThrough]
int? IReadOnlyElementType.GetMaxLength ();
[<System.Diagnostics.DebuggerStepThrough>]
abstract member Microsoft.EntityFrameworkCore.Metadata.IReadOnlyElementType.GetMaxLength : unit -> Nullable<int>
override this.Microsoft.EntityFrameworkCore.Metadata.IReadOnlyElementType.GetMaxLength : unit -> Nullable<int>
Function GetMaxLength () As Nullable(Of Integer) Implements IReadOnlyElementType.GetMaxLength

Devoluciones

Longitud máxima, -1 si la propiedad no tiene longitud máxima o null si no se ha establecido la longitud máxima.

Implementaciones

Atributos

Se aplica a