Span<T>.Clear Metoda

Definice

Clears the contents of this Span<T> object.Clears the contents of this Span<T> object.

public:
 void Clear();
public void Clear ();
member this.Clear : unit -> unit
Public Sub Clear ()

Poznámky

The Clear method sets the items in the Span<T> object to their default values.The Clear method sets the items in the Span<T> object to their default values. It does not remove items from the Span<T>.It does not remove items from the Span<T>.

Platí pro