Memory<T>.IsEmpty Proprietà

Definizione

Indica se l'istanza corrente è vuota.

public:
 property bool IsEmpty { bool get(); };
public bool IsEmpty { get; }
member this.IsEmpty : bool
Public ReadOnly Property IsEmpty As Boolean

Valore della proprietà

Boolean

true se l'istanza corrente è vuota; in caso contrario, false.

Commenti

Un Memory<T> oggetto è vuoto se la lunghezza è 0.

Si applica a