RuntimeElementType.IReadOnlyElementType.GetMaxLength Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
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
Colaborar con nosotros en GitHub
El origen de este contenido se puede encontrar en GitHub, donde también puede crear y revisar problemas y solicitudes de incorporación de cambios. Para más información, consulte nuestra guía para colaboradores.