Span<T>.Clear Metoda

Definicja

Czyści zawartość tego Span<T> obiektu.

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

Uwagi

Metoda Clear ustawia elementy w Span<T> obiekcie na wartości domyślne. Nie usuwa elementów z elementu Span<T>.

Dotyczy