Memory<T>.IsEmpty Eigenschaft

Definition

Gibt an, ob die aktuelle Instanz leer ist.

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

Eigenschaftswert

truewenn die aktuelle Instanz leer ist; andernfalls . false

Hinweise

Ein Memory<T> Objekt ist leer, wenn die Länge 0 ist.

Gilt für: