Condividi tramite


RuntimeElementType.IReadOnlyElementType.GetMaxLength Metodo

Definizione

Ottiene la lunghezza massima dei dati consentiti negli elementi della raccolta. Ad esempio, se il tipo di elemento è un String oggetto , si tratta del numero massimo di caratteri.

[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

Restituisce

Lunghezza massima, -1 se la proprietà non ha lunghezza massima o null se la lunghezza massima non è stata impostata.

Implementazioni

Attributi

Si applica a