Memory<T>.IsEmpty Egenskap

Definition

Anger om den aktuella instansen är tom.

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

Egenskapsvärde

trueom den aktuella instansen är tom; annars . false

Kommentarer

Ett Memory<T> objekt är tomt om dess längd är 0.

Gäller för